modf
double modf (double inputValue, double *integralPart);
Purpose
Breaks a double value into its integral and fractional parts, each of which will have the same sign as the argument.
Parameters
| Input | ||
| Name | Type | Description |
| inputValue | double | Contains the value that will be broken into integral and fractional parts. |
| Output | ||
| Name | Type | Description |
| integralPart | double | Contains the resulting integral part of inputValue. It has the same sign as inputValue. |
Return Value
| Name | Type | Description |
| fractionalPart | double | Contains the resulting fractional part of inputValue. It has the same sign as inputValue. |
Additional Information
Library: ANSI C Library
Include file: ansi_c.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later