Welcome to the Monastery | |
PerlMonks |
Re: Issue getting value from text file and keep decimalby Anonymous Monk |
on Jun 27, 2017 at 15:59 UTC ( [id://1193713]=note: print w/replies, xml ) | Need Help?? |
The Perl language contains only a generic floating-point data type with no control over the number of digits to the right of the decimal point nor control over rounding and formatting ... sprintf() gives you very limited control over appearance.
In Section
Seekers of Perl Wisdom
|
|