OracleNumber.Round(OracleNumber, Int32) Method

Definition

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

C#
public static System.Data.OracleClient.OracleNumber Round(System.Data.OracleClient.OracleNumber n, int position);

Parameters

n
OracleNumber

The OracleNumber structure to be rounded.

position
Int32

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

Returns

An OracleNumber structure containing the results of the rounding operation.

Applies to

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1