DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# round to 2 decimal places
decimal b = 1.995555M; Math.Round(b, 2); //returns 2.00
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#decimal
#places
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit