Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart round

void main() { 
   double n1 = 12.023; 
   double n2 = 12.89; 
   
   var value = n1.round(); 
   print( value ); 
   
   value = n2.round(); 
   print( value ); 
} 
 
PREVIOUS NEXT
Tagged: #dart
ADD COMMENT
Topic
Name
5+4 =