Re: [Semi-OT] Using just the decimal just use modf()
Re: [Semi-OT] Using just the decimal just use modf()
- Subject: Re: [Semi-OT] Using just the decimal just use modf()
- From: Charles Bennett <email@hidden>
- Date: Mon, 03 Sep 2001 11:26:05 -0400
To Ondra... "man modf" ;-)
doesn't modf do what you want?
double modf(double value, double *iptr)
modf breaks the argument "value" into integral and fractional parts
it stores the integral part as a double in the localtion pointed to
by iptr it RETURNS the fractional part.
Bada Bing, Bada Bang, Bada Boom! :-)
chuck
Ondra Cada wrote:
>
>
Rob,
>
>
>>>>>> Rob Rix (RR) wrote at Mon, 3 Sep 2001 06:33:28 -0400:
>
RR> What function (in math.h or wherever else) removes the whole value from a
>
RR> double?
>
>
man floor
>
---
>
Ondra Cada
>
OCSoftware: email@hidden http://www.ocs.cz
>
private email@hidden http://www.ocs.cz/oc
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
[demime 0.98b removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]