ComponentOne MultiSelect for WinForms
C1.Framework.Mathematics Namespace / Math Class / Round Method / Round(Single) Method
A float number to be rounded.

In This Topic
    Round(Single) Method
    In This Topic
    To make a round mathematic operation for float type number
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Round( _
       ByVal paraNum As Single _
    ) As Integer
    public static int Round( 
       float paraNum
    )

    Parameters

    paraNum
    A float number to be rounded.

    Return Value

    The number nearest value with precision equal to float.
    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