dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniDecimal Structure / Truncate Method
The specified UniDecimal structure.
The decimal position to which the number will be truncated.

In This Topic
    Truncate Method
    In This Topic
    Truncates the UniDecimal at a specified position.
    Syntax
    'Declaration
     
    Public Shared Function Truncate( _
       ByVal value As UniDecimal, _
       ByVal position As Integer _
    ) As UniDecimal
    public static UniDecimal Truncate( 
       UniDecimal value,
       int position
    )

    Parameters

    value
    The specified UniDecimal structure.
    position
    The decimal position to which the number will be truncated.

    Return Value

    A new UniDecimal structure.
    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