Replacement for snprintf

drug drug2004 at
Thu Oct 31 08:27:50 UTC 2019

On 10/30/19 10:54 PM, Sebastiaan Koppe wrote:
> On Wednesday, 30 October 2019 at 19:19:06 UTC, berni44 wrote:
>> On Wednesday, 30 October 2019 at 17:50:03 UTC, Jon Degenhardt wrote:
>>> It's reasonably common to have numeric values written out in text 
>>> format and read back in and used in subsequent computations. Not 
>>> always a great idea, especially when done without much consideration 
>>> for round-off errors. But it's not uncommon.
>> But IMHO this is the fault of people who do this and not the fault of 
>> a printing routine.
> You are correct, but people will still blame the printing routine.

I wouldn't state it is any fault. In some cases it is much more 
productive to have text representation of data than binary ones. 
Initially I believed too that binary representation is the more suitable 
but afterwards I  was forced to use text format and that gives me a good 

More information about the Digitalmars-d mailing list