dart round to hundred code example
Example: round off in dart
//dart code
double x = 5.56753;
String roundedX = x.toStringAsFixed(2);
print(roundedX);
//dart code
double x = 5.56753;
String roundedX = x.toStringAsFixed(2);
print(roundedX);