printf icon indicating copy to clipboard operation
printf copied to clipboard

[BUG] Float format

Open astro75 opened this issue 12 years ago • 1 comments

Printf.format("%.8f", [0.0000001]);

This line gives unexpected result. Epected result: 0.00000010

astro75 avatar Dec 15 '13 18:12 astro75

Looks like it's because we use Std.string to convert to a string. Looks like we might have to do it ourselves.

Dr-Emann avatar Dec 17 '13 20:12 Dr-Emann