in reply to Re: printf rounding issue
in thread printf rounding issue
This is the reason I am getting correct value when I am printing on screen with print . My issue is why I am getting different values when I am using print and printf . Also what is the solution to print value correctly in FILE .$val = $val * 100 ; $val = $val / 100;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: printf rounding issue
by LanX (Saint) on Nov 16, 2016 at 14:07 UTC |