📅  最后修改于: 2022-03-11 14:48:02.346000             🧑  作者: Mango
代码示例1
void main() {
double n1 = 12.023;
double n2 = 12.89;
var value = n1.round();
print( value );
value = n2.round();
print( value );
}