I am trying to input decimals to the SQL database. I call Stored procedure to pass the data to the SQL server. The field acceptting this data is set as 'decimal' type with precision=10 and scale=2.
However, my input turn out as integer in the database, for example 4.5 become 5 in the database.
Please help me point out what's wrong with my database settings.
Thanks a lot!
However, my input turn out as integer in the database, for example 4.5 become 5 in the database.
Please help me point out what's wrong with my database settings.
Thanks a lot!