Re: What is this?
Re: What is this?
- Subject: Re: What is this?
- From: Bill Briggs <email@hidden>
- Date: Sat, 26 Feb 2005 21:09:32 -0400
At 11:56 PM +0100 2/26/05, Emmanuel wrote:
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.
It's a new random number generator. OMM I get
{5.06906483100804E-305, {""}, "9"}
- web
_______________________________________________
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