dannysunyu / rational-dart

A Dart library for rational numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A Dart library for rational numbers


Languages

Language:Dart 100.0%