Re: rounding integers
Re: rounding integers
- Subject: Re: rounding integers
- From: Steve Mills <email@hidden>
- Date: Fri, 31 Oct 2003 11:46:50 -0600
On Oct 31, 2003, at 11:17, Chet Goetz wrote:
Thanks for the advice, but your code gives me an error:
"Can't make 314.159265358979 into a integer."
Am I doing something wrong?
Seems like a simple enough thing to ask AppleScript to do! I'm running
in 10.3, which might've fixed that. But the other people's suggestions
of using "round" is a much better idea since you're dealing with dollar
amounts, because you can round them up or down or however you prefer.
Round up if it's a the amount you're charging, and round down if it's
the amount you're being billed. ;)
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.