dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniDecimal Structure / Round Method
The specified UniDecimal structure.
The number of significant fractional digits (precision) in the return value.

In This Topic
    Round Method
    In This Topic
    Rounds the specified UniDecimal off to the specified precision.
    Syntax
    'Declaration
     
    Public Shared Function Round( _
       ByVal value As UniDecimal, _
       ByVal position As Integer _
    ) As UniDecimal
    public static UniDecimal Round( 
       UniDecimal value,
       int position
    )

    Parameters

    value
    The specified UniDecimal structure.
    position
    The number of significant fractional digits (precision) in the return value.

    Return Value

    An UniDecimal structure containing the results of the rounding operation.
    Remarks
    This method is not available in Direct mode.
    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