I have looked online and have found multiple examples that show you how to add 2 decimal places to a double.However all the examples i found require you to change the double to a string format. such as
formatting a double to two decimal places
Is it possible to assign two decimal places and have it remain as a double?
for example double(25,2)
public double balance {get;set}
double money=145
balance=money
so the balance should now be 145.00
balance should remain a double(25,2)