From cd98251412e7e6b268ff583bbad22f25257f5efb Mon Sep 17 00:00:00 2001 From: Khushboo1702 Date: Tue, 19 Mar 2024 13:35:30 +0530 Subject: [PATCH] fix(utils): formatting code --- lib/src/utils/number_system_utils.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/utils/number_system_utils.dart b/lib/src/utils/number_system_utils.dart index 53d24bc..c1337b3 100644 --- a/lib/src/utils/number_system_utils.dart +++ b/lib/src/utils/number_system_utils.dart @@ -3,8 +3,8 @@ import 'package:fa_dart_core/fa_dart_core.dart'; const decimalPlace = 2; class NumberSystemUtils { - - String parse(bool usesInternationalNumberSystem, num? val, {int decimalPlaces = 0}) => + String parse(bool usesInternationalNumberSystem, num? val, + {int decimalPlaces = 0}) => usesInternationalNumberSystem ? _parseAsInternational(val ?? 0, decimalPlaces: decimalPlaces) : _parseAsIndian(val ?? 0, decimalPlaces: decimalPlaces);