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