 | MathUtilsRound Method (Single) |
Rounds the specified number to the nearest integral value.
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Round(
float x
)
Public Shared Function Round (
x As Single
) As Single
public:
static float Round(
float x
)
static member Round :
x : float32 -> float32
Parameters
- x
- Type: SystemSingle
Number to round.
Return Value
Type:
SingleSpecified number rounded to the nearest integral value.
See Also