Lost scale value when insert NUMBER(15,2) type
683536Feb 5 2009 — edited Nov 23 2010Hi,
I'm trying to insert a value 253.65 in a NUMBER(15,2) collum table. Below is my code:
{color:#3366ff}
cmd.Parameters.Add(BuildOracleParam("vNF", OracleDbType.Decimal, "253.65",15,2));{color}
where BuildOracleParam(name, type, value, precision, scale) is simple a method that create and return a OracleParamenter.
but when select the colllum I get the value 253.00.
How to resolve this situation? some advice?
tnks