You are here: Symbol Reference > Math387 Namespace > Functions > Math387.TruncAndFracf Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.TruncAndFracf Function

Splits the floating point number to integer and fractional parts.

Pascal
function TruncAndFracf(X: single; out FractionalPart: single): Int64; overload;
Parameters 
Description 
Defines real number to be split into integer and fractional part. 
FractionalPart 
Returns the fractional part of X. 

the integer part of X.

Splits the floating point number to integer and fractional parts.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!