in reply to
sprintf() returning incorrect value
You didn't show us how you assigned $nfc_amt. Perhaps...
Why am I getting long decimals (eg, 19.9499999999999) instead of the numbers I should be getting (eg, 19.95)?
Comment on
Re: sprintf() returning incorrect value
In Section
Seekers of Perl Wisdom