Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# round number up

double number = 1.5362
  
int ceiling = Math.Ceiling(number)
//rounds number to 2
 
PREVIOUS NEXT
Tagged: #number
ADD COMMENT
Topic
Name
8+9 =