Re: Scientific notation to text
Re: Scientific notation to text
- Subject: Re: Scientific notation to text
- From: Michelle Steiner <email@hidden>
- Date: Sun, 13 May 2001 23:55:29 -0700
On 5/13/01 10:21 PM, Paul Berkowitz <email@hidden> wrote:
>
Now try just compiling (don't run it yet):
>
>
1.94055698299304
>
>
It compiles to:
>
>
1.940556982993
>
>
so it looks as if those final '04' digits put it out of the reach of
>
AppleScript reals. That's what's happening when your typing is evaluated
>
before the 'as text' coercion even takes place. I know that the final two
>
digits don't disappear when you tack on 'E-4' and then compile or run the
>
resulting number, but I bet that they would get ignored in a calculation.
Enter this into the script editor.
1.94055698299304 = 1.940556982993
Compile it; it now displays this:
1.940556982993 = 1.940556982993
Run it.
--> false
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------