• 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
Avoiding Scientific Notation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoiding Scientific Notation?


  • Subject: Avoiding Scientific Notation?
  • From: "Nick Hartzel, Sr." <email@hidden>
  • Date: Sun, 3 Jun 2001 12:33:56 -0500

Hello:

I'm new to applescript. I am sequencing and assigning 9 digit labels in quark
4.11 (using os8.6 / v1.3.7)

I need to start out with a 9 digit number, say 700100100, increment it by 1
and end up with a printable string. But, this number is automatically
reformatted by applescript to 7.001001E+8

for example this won't work (for me):

set x to 700100100
repeat with i from x to x + 100
set x to i as string
end repeat

Is there any way of ignoring scientific notation, or any other workaround?

Thanks for any help!

Nick Hartzel


  • Follow-Ups:
    • Re: Avoiding Scientific Notation?
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Current date in standard additions dictionary
  • Next by Date: Two TID-based text handlers: findtext, removetext
  • Previous by thread: Re: Current date in standard additions dictionary
  • Next by thread: Re: Avoiding Scientific Notation?
  • Index(es):
    • Date
    • Thread