menu
stdc package
documentation
math.dart
MathStdc
trunc method
trunc method
dark_mode
light_mode
trunc
method
double
trunc
(
double
x
)
Rounds
x
toward zero to the nearest integer value.
Implementation
double trunc(double x) => x.truncateToDouble();
stdc package
documentation
math
MathStdc
trunc method
MathStdc extension on
Stdc