getPrecisionsDouble static method

double getPrecisionsDouble({
  1. required double number,
  2. required Type type,
  3. required int digit,
  4. int value = 1,
})

Implementation

static double getPrecisionsDouble(
    {required double number,
    required Type type,
    required int digit,
    int value = 1}) {
  return double.parse(getPrecisionsString(
      number: number, type: type, digit: digit, value: value));
}