Re: Simple calculation
Re: Simple calculation
- Subject: Re: Simple calculation
- From: Steven Angier <email@hidden>
- Date: Sat, 26 Jan 2002 22:39:27 +1100
- Organization: Macscript.com
You can use the Macscript.com Library function "FormatNumber()", thus:
"#" & FormatNumber(327.75 * 50, 2)
You can also pass FormatNumber() a list of all the numbers you wish to format in the one
call.
Steven Angier
Macscript.com
Rob Stott wrote:
>
set theCost to "#" & (327.75 * 50)
>
>
...I get the result 1.63875E+4 which is all well and good but the script
>
forwards the figure to our accountant who is foxed by figures that aren't in
>
the format #16387.50
>
>
Is there a way to do this? (Short of getting a smarter accountant...)