Redigera

Dela via


OracleNumber.Round(OracleNumber, Int32) Method

Definition

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

public:
 static System::Data::OracleClient::OracleNumber Round(System::Data::OracleClient::OracleNumber n, int position);
public static System.Data.OracleClient.OracleNumber Round (System.Data.OracleClient.OracleNumber n, int position);
static member Round : System.Data.OracleClient.OracleNumber * int -> System.Data.OracleClient.OracleNumber
Public Shared Function Round (n As OracleNumber, position As Integer) As OracleNumber

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