Unexpected result with std.conv.to

Joel joelcnz at gmail.com
Fri Nov 15 03:51:04 UTC 2019


I made a feature that converts, say, [9:59am] -> [10:00am] to 1 
minute. but found '9'.to!int = 57 (not 9).

Doesn't seem right... I'm guessing that's standard though, same 
with ldc.


More information about the Digitalmars-d-learn mailing list