|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^4: log() and int() problemby LanX (Monsignor) |
| on Dec 25, 2012 at 23:19 UTC ( #1010296=note: print w/ replies, xml ) | Need Help?? |
|
> Though a crude fix would be to add 0.5 (i.e. int($l+0.5) I think you rather meant something like $ll=int($l+5e-15) =) (15 digits accuracy is just a guess)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||