• 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: Same code gives different answers in 2 different scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Same code gives different answers in 2 different scripts


  • Subject: Re: Same code gives different answers in 2 different scripts
  • From: Chris Page <email@hidden>
  • Date: Thu, 04 Jun 2009 14:52:55 -0700

On Jun 4, 2009, at 12:03 AM, Shane Stanley wrote:

round x decimal places 2 with zero padding as text

might fit the bill, without the need to add another command (and call to a scripting addition).


I understand why that makes a certain sense, but round is a math operation. There are lots of math operations.

Formatting a value--numeric or otherwise--as text is a separate operation from rounding, multiplication or, say, concatenation and filtering.

--
Chris Page

_______________________________________________
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: Same code gives different answers in 2 different scripts
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Same code gives different answers in 2 different scripts (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Word Line Numbers
  • Next by Date: Get InDesign Spread Page Numbers
  • Previous by thread: Re: Same code gives different answers in 2 different scripts
  • Next by thread: Re: Same code gives different answers in 2 different scripts
  • Index(es):
    • Date
    • Thread