toNumAsSmartRound method

num toNumAsSmartRound({
  1. int maxPrecision = 2,
})

Implementation

num toNumAsSmartRound({int maxPrecision = 2}) {
  return toDouble().toNumAsSmartRound(maxPrecision: maxPrecision);
}