Search packages, repositories and app categories

GitHub repositorya14n/dart-rational

dart-rational

a14n/dart-rational open-source repository details.

dart-rational project cover
Stars
36
Forks
21
Last push (UTC)
Nov 24, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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

Alexandre Ardhuin GitHub avatar
GitHub author

Alexandre Ardhuin ↗

France
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 3 items

  • expectorDevelopment^0.1.3
  • lintsDevelopment^2.0.1
  • testDevelopment^1.19.4

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗