Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

round double c#

double a = 5.3124;
a = Math.Round(a, 2);
//a is now equal to 5.31
 
PREVIOUS NEXT
Tagged: #double
ADD COMMENT
Topic
Name
7+1 =