numToDec static method

Decimal numToDec(
  1. num value
)

Implementation

static decimal.Decimal numToDec(num value) => dec(value.toString());