Dart编程实例 - round 方法
void main() {
double n1 = 12.023;
double n2 = 12.89;
var value = n1.round();
print( value );
value = n2.round();
print( value );
}
void main() {
double n1 = 12.023;
double n2 = 12.89;
var value = n1.round();
print( value );
value = n2.round();
print( value );
}