fraction 1.2.0
fraction: ^1.2.0 copied to clipboard
A package that helps you dealing with mathematical fractions. Work with fractions, mixed fractions and types conversions.
[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()
returns3
and not3/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
andMixedFraction
have been released.- added support to extension methods to create helpers for
num
andstring
.