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. Note, that this mode is used for the dotConnect for Oracle only.
    See Also