Re: Currency Numbers
Re: Currency Numbers
- Subject: Re: Currency Numbers
- From: kai <email@hidden>
- Date: Tue, 20 Jun 2006 21:44:18 +0100
Sorry - wrong version. That should have been:
------------------
on currency_format for v
tell (((v mod 1 as text) * 100) ^ 2) ^ 0.5 + 0.5 to (v div 1 as
text) & (0.0 as text)'s character 2 & it div 1
end currency_format
currency_format for -123.4
--> "-123,40" / "-123.40" (* depending on local currency formatting *)
------------------
---
kai
_______________________________________________
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