You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clMatrix Structure > clMatrix Methods > Trunc Method > clMatrix.Trunc Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clMatrix.Trunc Method ()

Rounds a real number towards zero.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Trunc();

Rounds all calling object elements towards zero to an integer and stores the result in the calling object again as floating point numbers.

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