ComponentOne CalendarView 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.
    See Also