FLUTTER ECOSYSTEM

a14n/dart-rational

a14n/dart-rational open-source repository details.

dart-rational のプロジェクト画像
Stars
36
Forks
21
最終プッシュ(UTC)
2025/11/24
プロジェクト状態
公開中
Alexandre Ardhuin GitHub avatar
GITHUB User

Alexandre Ardhuin ↗

France
言語Dart

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • expector開発用^0.1.3
  • lints開発用^2.0.1
  • test開発用^1.19.4

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

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