Share via


IEEERemainder Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the remainder resulting from the division of a specified number by another specified number.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared Function IEEERemainder ( _
    x As Double, _
    y As Double _
) As Double
public static double IEEERemainder(
    double x,
    double y
)
public:
static double IEEERemainder(
    double x, 
    double y
)
static member IEEERemainder : 
        x:float * 
        y:float -> float 
public static function IEEERemainder(
    x : double, 
    y : double
) : double

Parameters

Return Value

Type: System. . :: . .Double
A number equal to x - (y Q), where Q is the quotient of x / y rounded to the nearest integer (if x / y falls halfway between two integers, the even integer is returned).
If x - (y Q) is zero, the value +0 is returned if x is positive, or -0 if x is negative.
If y = 0, NaN is returned.

.NET Framework Security

See Also

Reference

Math Class

System Namespace