Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

decimal c# 2 digits

decimalVar.ToString ("0.##"); // returns "0"  when decimalVar == 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #decimal #digits
ADD COMMENT
Topic
Name
5+3 =