Poll on improved format strings.
Don Clugston
dac at nospam.com.au
Wed Mar 7 11:10:36 PST 2007
janderson wrote:
> Don Clugston wrote:
>> Daniel Keep wrote:
>>>
>>
>> When you use floating point, you want to specify the formatting
>> options almost every time -- do you want %f, %e, %g, or %a? And it's
>> almost always necessary to specify the number of decimal places to use.
>> I display integers in hex pretty often, too.
>
> Most of the time I want the same number of decimal places. I think
> being able to provide a default decimal place would be a good idea.
I think you're right.
More information about the Digitalmars-d
mailing list