/rational-dart

A Dart library for rational numbers

Primary LanguageDart

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage

A simple usage example:

import 'package:Rational/Rational.dart';

main() {
  var r1 = Rational(1, 3);
  var r2 = Rational(2, 3);
  var sum = r1 + r2;
  print(sum); // prints 1
}

Features and bugs

Please file feature requests and bugs at the issue tracker.