numeric_utils 0.1.1
numeric_utils: ^0.1.1 copied to clipboard
Provides extensions and utility functions for working with numeric types in Dart, including Rational and BigInt.
0.1.1 #
- Downgraded intl to 0.19.0 due to Flutter pinning
0.1.0 #
- Initial version of numeric_utils.
- Features:
- Added
RationalRoundingExtensionwith various rounding methods (rounded,toNearest, etc.).- Added
RoundingModeenum.
- Added
- Added
BigIntRoundedDivisionExtensionfor rounded division of BigInts. - Added
RationalFormattingExtensionwithtoDecimalPlaces,toCurrencyandtoPercentagemethods. - Added
RationalCommonRoundingExtensionwithtoDecimalPlace,toCents,toNearestHalf,toNearestThird, andtoNearestQuartermethods. - Added
BigIntMultipleOfExtensionandIntMultipleOfExtensionforisMultipleOfmethods.
- Added
- Constants:
- Added
RationalConstantswith common rational values as well asIntConstantsandBigIntConstants
- Added