How to fix the value of a variable to two digits after the decimal point if the value coming from the database is of money data type. Also in database no precision and scale is defined for money datatype.
Ex. value from database is: 3.7700(of money datatype)
output needed: 3.77
By output i mean saving the value in a variable and printing it. Also i converted it to double and than parse it to two decimal points. But my doubt is do we have any other method which directly work on money datatype without typecasting?