I am using Microsoft SQL Server.
I have a money field in the database. When I try to store decimal values, it trims the trailing zeros, for example:
2.50 becomes 2.5
2.00 becomes 2
I have to have an exact amount, out to two decimal places, every time. Is there a way to force sql server to save that information, or will I have to make a script to automatically append 0's to the end, out to two decimal places past the '.'?
I have a money field in the database. When I try to store decimal values, it trims the trailing zeros, for example:
2.50 becomes 2.5
2.00 becomes 2
I have to have an exact amount, out to two decimal places, every time. Is there a way to force sql server to save that information, or will I have to make a script to automatically append 0's to the end, out to two decimal places past the '.'?