num_ext.dart 178 B

12345678
  1. extension NumExt on num? {
  2. bool get notNullOrZero {
  3. if (this == null || this == 0) {
  4. return false;
  5. }
  6. return this!.abs().toStringAsFixed(4) != "0.0000";
  7. }
  8. }