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

Truncate Method
Truncates the OracleNumber at a specified position.
Syntax
'Declaration
 
Public Shared Function Truncate( _
   ByVal value As OracleNumber, _
   ByVal position As Integer _
) As OracleNumber
 

Parameters

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

Return Value

A new OracleNumber 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