Input: import std.stdio; void main() { float f=0.01; writefln("%0.2f->%d",f,cast(int)(f*100f)); }
Output: 0.01->0 Comment: What!?
Input: import std.stdio; void main() { float f=0.01; writefln("%0.2f->%d",f,cast(int)(f*100f)); }
Output: 0.01->0 Comment: What!?