I am making a c# calculator, and I want group the digits and remove trailling zeros.
whan I uesed this code
It displays only two decimal digits. If it is not decimal fraction it dispalys two zeros.
whan I uesed this code
Code:
NumberFormatInfo nFI = new CultureInfo("en-US",false).NumberFormat; Decimal int_value = Decimal.Parse(textBox1.Text);