develooper Front page | perl.beginners | Postings from November 2003

Rounding off

Thread Next
From:
Mike Blezien
Date:
November 22, 2003 14:28
Subject:
Rounding off
Message ID:
3FBFE2E8.7020908@frontiernet.net
Hello,

I need the ability to round off dollar amounts to the 
nearest 100th of a dollar amount, IE $14.9564 to $14.96 or 
$132.1123 to $113.11

what is the best way to accomplish this ??

TIA
-- 
Mike<mickalo>Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Quality Web Hosting
http://www.justlightening.net
MSN: mickalo@thunder-rain.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About