• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: BIG number as string [re-round error]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BIG number as string [re-round error]


  • Subject: Re: BIG number as string [re-round error]
  • From: Andy Wylie <email@hidden>
  • Date: Sat, 21 Dec 2002 17:38:47 +1300

on Sat, 21 Dec 2002 16:36:25 +1300 i wrote:

>run script "(999308635802549 as number)"
> --> 9.99308635802549E+14

silly me, I was thinking of {record} as string which doesn't work either.

to |no round big n to text|(n)
try
n's string
on error m
tid("of ")
set nStr to (m's text item 2)'s text 1 thru -2
tid("")
return nStr
end try
end |no round big n to text|

|no round big n to text|(9.99308635802549E+14)
--> "9.99308635802549E+14"
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Choose Folder Glitch
  • Next by Date: Re: Applescript Date Manipulation...
  • Previous by thread: Re: BIG number as string [re-round error]
  • Next by thread: Re: BIG number as string [re-round error]
  • Index(es):
    • Date
    • Thread