How to keep , instead of . and how to make % form calculation need to be times 100
- by rockers
in my database table i have filed called Value..
its showing somethign like.. 1234231.23
but I need to dispaly this as , all currency values should include commas when appropriate such as after the millions and thousands digits..
This is the filed I am getting from data base..
value= !dr.IsDBNull(3) ? dr.GetDecimal(3) : new decimal(),
and I need to chnage other value as % times 100.. i am gettnig from data base something liek this -021222 i need to display -2.1222%
Percentage= !dr.IsDBNull(4) ? dr.GetDecimal(4) : new decimal(),
Can I change in the my class?
public decimal value { get;set;}
public decimal Percentage {get;set;}