Single.IModulusOperators<Single,Single,Single>.Modulus Operator
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Divides two values together to compute their modulus or remainder.
static float System.Numerics.IModulusOperators<System.Single,System.Single,System.Single>.operator %(float left, float right) = System::Numerics::IModulusOperators<float, float, float>::op_Modulus;
C#
static float IModulusOperators<float,float,float>.operator %(float left, float right);
static member ( % ) : single * single -> single
Shared Operator Mod (left As Single, right As Single) As Single Implements IModulusOperators(Of Single, Single, Single).op_Modulus
- left
- Single
The value that right
divides.
- right
- Single
The value that divides left
.
The modulus or remainder of left
divided by right
.
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: