bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9009: 24.0.50; format does not zero pad hex numbers higher than 9


From: Lars Magne Ingebrigtsen
Subject: bug#9009: 24.0.50; format does not zero pad hex numbers higher than 9
Date: Wed, 06 Jul 2011 18:05:21 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Remco van 't Veer <remco@remworks.net> writes:

> Here's an example:
>
>   (format "%04x"  9) ; "0009"
>   (format "%04x" 10) ; "   a"

It works for me in Emacs 24:

(format "%04x" 10)
=> "000a"

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]