hi,
the front end of my package is Visual Basic and the back end is SQL 7.0.
I have an Amount column in one of the Tables.
the requirement is: whenever a record is saved the data in the Amount column should get saved with 2 decimal places.
e.g if the user enters 100.25 in the text box, the back end should also get saved/updated as 100.25
if the user enters 100 in the text box, the back end should get saved/updated as 100.00
I tried using "Float" data type. but that gives 1 decimal place.
kindly help.
this is very urgent
the front end of my package is Visual Basic and the back end is SQL 7.0.
I have an Amount column in one of the Tables.
the requirement is: whenever a record is saved the data in the Amount column should get saved with 2 decimal places.
e.g if the user enters 100.25 in the text box, the back end should also get saved/updated as 100.25
if the user enters 100 in the text box, the back end should get saved/updated as 100.00
I tried using "Float" data type. but that gives 1 decimal place.
kindly help.
this is very urgent