Re: What is this?
Re: What is this?
- Subject: Re: What is this?
- From: Emmanuel <email@hidden>
- Date: Sat, 26 Feb 2005 23:56:38 +0100
At 4:07 PM -0500 2/26/05, deivy petrescu wrote:
I found it very interesting but not explainable...
<script>
set x to 9
set {astid, AppleScript's text item delimiters} to {AppleScript's
text item delimiters, "E"}
set zpow to 1 * (text item 2 of (x as text))
set AppleScript's text item delimiters to astid
return {zpow, AppleScript's text item delimiters, x as string}
--->{3.08055323620131E-306, "", "9"}
</script>
By the way, one can change 9 by any other number, the value for
zpower is always around the same order of maginitude.
I checked the script above in two different computers.
waow.
You can make it a one-liner:
1 * (character 2 of ("9" as text))
BTW OMM I get 5 times more: 1.58331334099219E-305.
Emmanuel
_______________________________________________
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