truncate method

Decimal truncate({
  1. int scale = 0,
})

The BigInt obtained by discarding any fractional digits from this.

Implementation

Decimal truncate({int scale = 0}) => _roundToScale(scale, _Rounding.truncate);