You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clValue Structure > clValue Methods > clValue.TruncAndFrac Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clValue.TruncAndFrac Method

Rounds a real number towards zero and returns the fractional part.

Syntax
C#
Visual Basic
public void TruncAndFrac(TOpenCLValue TruncDst, TOpenCLValue FracDst);

Rounds calling object value towards zero to an integer and stores the result in the TruncDst object as a floating point number. The fractional part is stored in the FracDst.

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