OracleNumber.Round Method (OracleNumber, Int32)

 

Gets the number nearest the specified OracleNumber structure's value with the specified precision.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

Public Shared Function Round (
	n As OracleNumber,
	position As Integer
) As OracleNumber

Parameters

n
Type: System.Data.OracleClient.OracleNumber

The OracleNumber structure to be rounded.

position
Type: System.Int32

The number of significant fractional digits (precision) in the return value.

Return Value

Type: System.Data.OracleClient.OracleNumber

An OracleNumber structure containing the results of the rounding operation.

.NET Framework
Available since 1.1
Return to top
Show: