Re: Currency Numbers
Re: Currency Numbers
- Subject: Re: Currency Numbers
- From: Wayne Melrose <email@hidden>
- Date: Mon, 19 Jun 2006 18:15:20 +0200
On Jun 19, 2006, at 4:55 PM, David Bradley wrote: Hi,
Can you format numbers to 2 decimal points in Applescript. I want to format the numbers in to a currency format
David,
this is a handler that someone posted once before when I asked the same question...
Sorry whoever that was ... otherwise I would give you the credit for it!
--- used for rounding number on roundThis(n, numDecimals) set x to 10 ^ numDecimals (((n * x) + 0.5) div 1) / x end roundThis
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden