Guest User

Guest User

  • Tech Writer
  • 515
  • 46k

About not rounding off value in sql

Nov 24 2021 4:51 PM

hello,

hope everyone is doing fine

I am saving value as 14356.78 in sql database, I can see value as 14356.78 in breakpoint.

But in database it is saved as 143568, which I don't want

The datatype i tried is decimal, float and varchar, still it is rounding off automatically

I want to prevent rounding off after saving in sql db

thank you !


Answers (7)