Rounds a floating point number to the specified number of digits.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static float Round( float f, int d ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Round ( _ f As Single, _ d As Integer _ ) As Single |
| Visual C++ |
|---|
public: static float Round( float f, int d ) |