numeric_utils 0.1.1 copy "numeric_utils: ^0.1.1" to clipboard
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 RationalRoundingExtension with various rounding methods (rounded, toNearest, etc.).
      • Added RoundingMode enum.
    • Added BigIntRoundedDivisionExtension for rounded division of BigInts.
    • Added RationalFormattingExtension with toDecimalPlaces, toCurrency and toPercentage methods.
    • Added RationalCommonRoundingExtension with toDecimalPlace, toCents, toNearestHalf, toNearestThird, and toNearestQuarter methods.
    • Added BigIntMultipleOfExtension and IntMultipleOfExtension for isMultipleOf methods.
  • Constants:
    • Added RationalConstants with common rational values as well as IntConstants and BigIntConstants
0
likes
0
points
342
downloads

Publisher

unverified uploader

Weekly Downloads

Provides extensions and utility functions for working with numeric types in Dart, including Rational and BigInt.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

intl, rational

More

Packages that depend on numeric_utils