Dart obcięcie
void main() {
double n1 = 2.123;
var value = n1.truncate();
print("The truncated value of 2.123 = ${value}");
}
Shadow
void main() {
double n1 = 2.123;
var value = n1.truncate();
print("The truncated value of 2.123 = ${value}");
}