> -----Original Message-----
> From: Sofia [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 03, 2001 4:57 PM
> To: [EMAIL PROTECTED]
> Subject: Math and Perl
> 
> 
> I am doing some division in my perl program but the
> result of the division is a number with many decimal
> places (12.34567899) How can I truncate the number to
> just two decimal places and round up or down if
> necessary?  Is there a module that will let me specify
> the number of decimal places I want for my results?

perldoc -q round

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to