fraction 2.0.0-nullsafety.0 copy "fraction: ^2.0.0-nullsafety.0" to clipboard
fraction: ^2.0.0-nullsafety.0 copied to clipboard

outdated

A package that helps you dealing with mathematical fractions. Work with fractions, mixed fractions and types conversions.

2.0.0-nullsafety.0 #

  • Package migrated to null safety (Dart 2.12)
  • Minor bug fixes on Fraction
  • Fixed various issues in the MixedFraction
  • Added operators overloads for MixedFraction
  • BREAKING CHANGE: Now Fraction and MixedFraction are immutable.
  • BREAKING CHANGE: Now MixedFraction accepts any kind of fractional value (even improper factions, which will be internally converted).

1.2.1 #

  • Fixed some health suggestions.

1.2.0 #

  • Removed Flutter dependencies
  • Fixes on documentation and examples.
  • Now when calling toString() on a fraction whose denominator is 1, only the numerator is printed. For example, Fraction(3, 1).toString() returns 3 and not 3/1.

1.1.0 #

  • Added support for operator [](int index).

1.0.1 #

  • Fixed some health suggestions.
  • Added a few examples in the repository.

1.0.0 #

  • Fraction and MixedFraction have been released.
  • added support to extension methods to create helpers for num and string.
64
likes
0
points
14.7k
downloads

Publisher

verified publisherfluttercompletereference.com

Weekly Downloads

A package that helps you dealing with mathematical fractions. Work with fractions, mixed fractions and types conversions.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on fraction