void main() {
double n1 = 2.123;
var value = n1.truncate();
print("The truncated value of 2.123 = ${value}");
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266134.html
void main() {
double n1 = 2.123;
var value = n1.truncate();
print("The truncated value of 2.123 = ${value}");
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266134.html