void main() {
double n1 = 12.023;
double n2 = 12.89;
var value = n1.round();
print( value );
value = n2.round();
print( value );
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266130.html
void main() {
double n1 = 12.023;
double n2 = 12.89;
var value = n1.round();
print( value );
value = n2.round();
print( value );
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266130.html