Shift
This method returns a new OracleDecimal structure with its value set to that of the supplied OracleDecimal structure, and its decimal place shifted to the specified number of places to the right.
Declaration
// C# public static OracleDecimal Shift(OracleDecimal val, int decplaces);
Parameters
-
valAn
OracleDecimalstructure. -
decplacesThe specified number of places to be shifted.
Return Value
An OracleDecimal structure.
Remarks
If the supplied OracleDecimal structure has a null value, the returned OracleDecimal has a null value.
If decplaces is negative, the shift is to the left.