Reduces the precision of the given number if it's extended precision.
- Namespace
- RandN
.Implementation - Containing Type
- FloatUtils
Syntax
[Pure]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static float ForceStandardPrecision(this float num)Attributes
| Type | Description |
|---|---|
| PureAttribute | |
| MethodImplAttribute |
Parameters
| Name | Type | Description |
|---|---|---|
| num | float |
Return Value
| Type | Description |
|---|---|
| float |