Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Saving money value in sql server

$
0
0

I have an application made in vb.net which is connected to a sql server database, In my databasei have a column for inserting the prices for certain products. 

While designing that column i set the datatype to "money", but if i pass the value of money"75.25" from my vb.net application, it is saving that value in the database like this"75.2500" but i just want the database to save it like this"75.25".

How can we do this ? Please help me developers.

Thanks



Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>