Re: decimal point placement
Re: decimal point placement
- Subject: Re: decimal point placement
- From: JJ <email@hidden>
- Date: Mon, 09 Jul 2001 12:59:16 +0200
>
Can anyone tell me how to place the decimal point correctly in...
>
x from (y ^ 2 * (tan theta))
>
_____________________thanks Andy
There is a routine from "Script Editor Scripts" (by Sal Soghoian,
downloadable at apple's applescript site) called "Round - Convert -
Truncate".
You only need provide it your *real* (7.8118912E+6) and number of desired
decimals (1, 2 or 3)
--> returns "7811891.200" as string
Was that your question or I got confussed?
JJ