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

[Semi-OT] Using just the decimal


  • Subject: [Semi-OT] Using just the decimal
  • From: Rob Rix <email@hidden>
  • Date: Mon, 3 Sep 2001 06:33:28 -0400

Sorry, but not only can I not remember what function does this, but I also can't find my book on C, so I'm forced to resort to the list.

What function (in math.h or wherever else) removes the whole value from a double?

So, given 3.1415, this function returns 0.1415, given 3.0, it returns 0.0,
et cetera. Sort of like the opposite of rounding. I can't remember the actual term for this, either...

Thanks in advance, and sorry,

-- Rob

For this is summer--we spin slowly on the edge of song. - Kira Byers


  • Follow-Ups:
    • Re: [Semi-OT] Using just the decimal
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Datasource for tableview and more
  • Next by Date: Re: A couple questions
  • Previous by thread: Re: NSView Examples (minus the examples)
  • Next by thread: Re: [Semi-OT] Using just the decimal
  • Index(es):
    • Date
    • Thread