writefln question

pmoore pmoore_member at pathlink.com
Sat Mar 18 05:02:21 PST 2006


Thanks,

I get up this morning and not only is my question answered but someone has put
in the bug report for me :)


In article <ops6lshu0623k2f5 at nrage.netwin.co.nz>, Regan Heath says...
>
>On Sat, 18 Mar 2006 09:05:17 +0000 (UTC), Nick <Nick_member at pathlink.com>  
>wrote:
>> In article <ops6k3babk23k2f5 at nrage.netwin.co.nz>, Regan Heath says...
>>>
>>> FYI, you can use:
>>>   writefln("number = %.8x", cast(ulong)9);
>>>
>>> to get the result you want. This is how I typically pad my hex numbers.
>>
>> That's exactly what he does already :-)
>
>Damn copy+paste making me look silly again. I meant to paste in:
>
>writefln("number = %08x", cast(ulong)9);
>
>Regan





More information about the Digitalmars-d-learn mailing list