Truncate
This method truncates the OracleDecimal at a specified position.
Declaration
// C# public static OracleDecimal Truncate(OracleDecimal val, int pos);
Parameters
-
valAn
OracleDecimalstructure. -
posThe specified position. If the value is positive, the function truncates the
OracleDecimalstructure to the right of the decimal point. If the value is negative, it truncates theOracleDecimalstructure to the left of the decimal point.
Return Value
An OracleDecimal structure.
Remarks
If the supplied OracleDecimal structure has a null value, the returned OracleDecimal has a null value.