• 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
Coercing Numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coercing Numbers


  • Subject: Coercing Numbers
  • From: Oakley Masten <email@hidden>
  • Date: Fri, 26 Feb 2010 12:01:28 -0800 (PST)

Hi all

I can't find the answer to this and don't know where else to look.



set x to 24.95 * 100

-->  x = 2495.0


set x to 124.95 * 100

-->   x = 1.2495E+4


if I set XasText to (x as text)

I still get 1.2495E+4


How do I get this to show up as  12495 ?


Thanks

Oakley

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Coercing Numbers
      • From: Luther Fuller <email@hidden>
    • Re: Coercing Numbers
      • From: Stan Cleveland <email@hidden>
    • Re: Coercing Numbers
      • From: "Stockly, Ed" <email@hidden>
    • Re: Coercing Numbers
      • From: Michelle Steiner <email@hidden>
    • Re: Coercing Numbers
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: [ANN] AppleScript Pro Sessions Florida
  • Next by Date: Re: Coercing Numbers
  • Previous by thread: Re: [ANN] AppleScript Pro Sessions Florida
  • Next by thread: Re: Coercing Numbers
  • Index(es):
    • Date
    • Thread