Nevron .NET Vision
Nevron Namespace / NMath Class / Round Method / Round(Single) Method
value to round


In This Topic
    Round(Single) Method
    In This Topic
    Rounds the specified value to the nearest int value
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Round( _
       ByVal fValue As System.Single _
    ) As System.Single
    'Usage
     
    
    Dim fValue As System.Single
    Dim value As System.Single
     
    value = NMath.Round(fValue)
    public static System.float Round( 
       System.float fValue
    )

    Parameters

    fValue
    value to round

    Return Value

    rounded value
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also