• 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: round(), handling numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: round(), handling numbers


  • Subject: Re: round(), handling numbers
  • From: Peter Jaques <email@hidden>
  • Date: Tue, 8 Jan 2002 01:21:59 -0800
  • Resent-date: Tue, 8 Jan 2002 01:23:17 -0800
  • Resent-from: email@hidden
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

On 8 Jan 02, 8:41AM, Martin Kautz wrote:
> However, I want to round() the output of e. g. 12.234523311 to 12.23... The
> function round() would give 12. :-(

there might be a more elegant solution, but i'd multiply by 100, round,
then divide by 100. expensive if you're doing a lot of iterations...

peter


References: 
 >round(), handling numbers (From: Martin Kautz <email@hidden>)

  • Prev by Date: Re: Moriarity samplecode
  • Next by Date: Re: round(), handling numbers
  • Previous by thread: round(), handling numbers
  • Next by thread: Re: round(), handling numbers
  • Index(es):
    • Date
    • Thread