Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

round off in dart

//dart code
double x = 5.56753;
String roundedX = x.toStringAsFixed(2);
print(roundedX);
 
PREVIOUS NEXT
Tagged: #dart
ADD COMMENT
Topic
Name
6+2 =