rational 2.2.3 copy "rational: ^2.2.3" to clipboard
rational: ^2.2.3 copied to clipboard

The rational package allows you to deal with rational numbers.

Dart Rational #

Build Status

This project enable to make computations on rational numbers.

Usage #

To use this library in your code :

  • add a dependency in your pubspec.yaml :
dependencies:
  rational:

Rational numbers #

  • add import in your dart code :
import 'package:rational/rational.dart';
  • Start computing using Rational.parse('1.23'), Rational(BigInt.from(12), BigInt.from(7)) or Rational.fromInt(12, 7).

License #

Apache 2.0

19
likes
160
pub points
93%
popularity

Publisher

unverified uploader

The rational package allows you to deal with rational numbers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

More

Packages that depend on rational