v2.2.3
rational
The rational package allows you to deal with rational numbers.
24Likes 681K30-day downloads160Pub points
AndroidiOSWebmacOSWindowsLinux
a14n/dart-rational open-source repository details.
English project snapshot. Visit GitHub for the latest content.
This project enable to make computations on rational numbers.
To use this library in your code :
pubspec.yaml :dependencies:
rational:
dart code :import 'package:rational/rational.dart';
Rational.parse('1.23'),
Rational(BigInt.from(12), BigInt.from(7)) or Rational.fromInt(12, 7).Apache 2.0