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

Simple calculation


  • Subject: Simple calculation
  • From: Rob Stott <email@hidden>
  • Date: Fri, 25 Jan 2002 12:08:19 +0000
  • Wheresrob: AtWork

Heeeelp!

Part of my script involves multiplying two figures using the simple lines;

set theCost to "#" & (327.75 * 50)

...I get the result 1.63875E+4 which is all well and good but the script
forwards the figure to our accountant who is foxed by figures that aren't in
the format #16387.50

Is there a way to do this? (Short of getting a smarter accountant...)

Cheers
Rob


  • Follow-Ups:
    • Re: Simple calculation
      • From: Steven Angier <email@hidden>
    • Re: Simple calculation
      • From: Emmanuel <email@hidden>
    • Re: Simple calculation
      • From: Mark Butcher <email@hidden>
    • Re: Simple calculation
      • From: email@hidden (Michael Sullivan)
    • Re: Simple calculation
      • From: Paul Berkowitz <email@hidden>
References: 
 >Scripting Print settings within Applications in OS X 10.1.2 (From: Andres Figueroa <email@hidden>)

  • Prev by Date: Scripting Print settings within Applications in OS X 10.1.2
  • Next by Date: Weird try block syntax
  • Previous by thread: Scripting Print settings within Applications in OS X 10.1.2
  • Next by thread: Re: Simple calculation
  • Index(es):
    • Date
    • Thread