Re: rounding integers
Re: rounding integers
- Subject: Re: rounding integers
- From: Steve Mills <email@hidden>
- Date: Fri, 31 Oct 2003 10:37:18 -0600
On Oct 31, 2003, at 10:08, Chet Goetz wrote:
Would someone be able to get me started on how to round a number to
two decimals?
I'm just using pi here as an easy source of a floating point number.
Substitute your price there.
set n to ((pi * 100) as integer) / 100
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.