 | MathUtilsMod Method |
Returns the remainder of the Euclidean division of a by n.
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Mod(
float a,
float n
)
Public Shared Function Mod (
a As Single,
n As Single
) As Single
public:
static float Mod(
float a,
float n
)
static member Mod :
a : float32 *
n : float32 -> float32
Parameters
- a
- Type: SystemSingle
Dividend. - n
- Type: SystemSingle
Divisor.
Return Value
Type:
Single
Remainder of the Euclidean division of
a by
n.
See Also