Function references modf()
Function references
modf()Prototype: double modf(double number, double *intpart);
Header File: math.h (C) or cmath (C++)
Explanation: This function will return the decimal part of number, and it will place the integer part of number into the variable pointed to by intpart.
منقول
ليست هناك تعليقات:
إرسال تعليق