Round Method

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 static OracleNumber Round(
	OracleNumber n,
	int position
)

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:
© 2016 Microsoft