Check out example codes for "set decimal point c#". It will help you in understanding the concepts better.

Code Example 1

decimalVar.ToString ("#.##"); // returns "" when decimalVar == 0

or

decimalVar.ToString ("0.##"); // returns "0"  when decimalVar == 0

Learn ReactJs, React Native from akashmittal.com