trunc method

FunctionExpression trunc([
  1. Object? decimalPlaces
])

This number cut off after decimalPlaces (at the decimal point without it).

Implementation

FunctionExpression trunc([Object? decimalPlaces]) =>
    _function('trunc', <Object?>[?decimalPlaces]);