Math.Round Dart

var foo = 6.28;
print(foo.round()); // 6
var bar = 6.5;
print(bar.round()); // 7
CodePadding