This documentation is archived and is not being maintained.

OracleNumber.Round Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

[Visual Basic]
Public Shared Function Round( _
   ByVal n As OracleNumber, _
   ByVal position As Integer _
) As OracleNumber
public static OracleNumber Round(
 OracleNumber n,
 int position
public: static OracleNumber Round(
 OracleNumber n,
 int position
public static function Round(
   n : OracleNumber,
 position : int
) : OracleNumber;


The OracleNumber structure to be rounded.
The number of significant fractional digits (precision) in the return value.

Return Value

An OracleNumber structure containing the results of the rounding operation.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleNumber Structure | OracleNumber Members | System.Data.OracleClient Namespace