DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
leave two decimal in double c#
double var = 123.4567; String myStr = String.Format("{0:0.00}", var); // "123.46"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#leave
#decimal
#double
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit