• 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: [Semi-OT] Using just the decimal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Semi-OT] Using just the decimal


  • Subject: RE: [Semi-OT] Using just the decimal
  • From: "Smith, Bradley" <email@hidden>
  • Date: Mon, 3 Sep 2001 12:20:50 +0100

This'll do it: -

myDoubleResult = myDoubleOriginal - (int)myDoubleOriginal;

Maybe there are better ways?

Brad


  • Follow-Ups:
    • Re: [Semi-OT] Using just the decimal
      • From: Rob Rix <email@hidden>
  • Prev by Date: Re: A couple questions
  • Next by Date: Re: [Semi-OT] Using just the decimal
  • Previous by thread: Re: A couple questions
  • Next by thread: Re: [Semi-OT] Using just the decimal
  • Index(es):
    • Date
    • Thread