How can i assign a value in a double variable which would be in format 00.00
I want to do it while declaring or assigning the value.
i.e if should contain two digits and should be rounded off to two digits and 0 should be added if it has single digit.....
2 should be saved and later used as 02.00
27.7777777 -> 27.77 or 27.78;
View Complete Post