Nevron Open Vision Documentation
Nevron.Nov Namespace / NMathF Class / Modulus Method


In This Topic
    Modulus Method (NMathF)
    In This Topic
    Returns the remainder (modulus) resulting when a number is divided by a divisor. The result has the same sign as the divisor.
    Syntax
    'Declaration
     
    
    Public Shared Function Modulus( _
       ByVal value As System.Single, _
       ByVal divisor As System.Single _
    ) As System.Single
    'Usage
     
    
    Dim value As System.Single
    Dim divisor As System.Single
    Dim value As System.Single
     
    value = NMathF.Modulus(value, divisor)
    public static System.float Modulus( 
       System.float value,
       System.float divisor
    )

    Parameters

    value
    divisor
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also