priceFloorBigInt static method

String priceFloorBigInt(
  1. BigInt? value,
  2. int decimals, {
  3. int lengthFixed = 2,
  4. int? lengthMax,
})

Implementation

static String priceFloorBigInt(
  BigInt? value,
  int decimals, {
  int lengthFixed = 2,
  int? lengthMax,
}) {
  if (value == null) {
    return '~';
  }
  return priceFloor(Fmt.bigIntToDouble(value, decimals),
      lengthFixed: lengthFixed, lengthMax: lengthMax);
}