varavoorvishnu
Programmer
- Sep 9, 2002
- 45
Hi All,
How to format a given number say 1231231323.4234 which is a double to comma seperated with the 2 digits after the decimal point.
I dont want to use the conventional convertion into string and use substring to display 2 digits after the decimal,instead i want to use the existing methods.
I used DecimalFormat("1231231323.4234", "#,##0.0#" ) ;
which gave error.
Have anyone used this method.Any new existing methods also appreciated.
Vishnu
How to format a given number say 1231231323.4234 which is a double to comma seperated with the 2 digits after the decimal point.
I dont want to use the conventional convertion into string and use substring to display 2 digits after the decimal,instead i want to use the existing methods.
I used DecimalFormat("1231231323.4234", "#,##0.0#" ) ;
which gave error.
Have anyone used this method.Any new existing methods also appreciated.
Vishnu