• 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: Simple multiplication going bizarre
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple multiplication going bizarre


  • Subject: Re: Simple multiplication going bizarre
  • From: Simon Forster <email@hidden>
  • Date: Thu, 29 Apr 2010 15:55:19 +0100

On 29 Apr 2010, at 15:42, Richard Lake wrote:

> Not really.... instead of sarcasm, please provide an answer as its obvious what I want to do.
>
> Say I take 50000 apples sell them at £1.25 each, I want to be able to show the total as £62,500 not 6.25E+4.

For integers you can try coercing to an integer:

return 50000 * 12.25 as integer

But a quick Google turns up a number of "Number to Text Manipulations" at:

<http://www.macosxautomation.com/applescript/sbrt/sbrt-02.html>

HTH

Simon _______________________________________________
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

References: 
 >Simple multiplication going bizarre (From: Richard Lake <email@hidden>)
 >Re: Simple multiplication going bizarre (From: Yvan KOENIG <email@hidden>)
 >Re: Simple multiplication going bizarre (From: Richard Lake <email@hidden>)

  • Prev by Date: Re: Simple multiplication going bizarre
  • Next by Date: Re: Simple multiplication going bizarre
  • Previous by thread: Re: Simple multiplication going bizarre
  • Next by thread: Re: Simple multiplication going bizarre
  • Index(es):
    • Date
    • Thread