yet_another_decimal 1.0.2 copy "yet_another_decimal: ^1.0.2" to clipboard
yet_another_decimal: ^1.0.2 copied to clipboard

Yet another package for working with decimals without loss of precision, including two versions - one for large numbers, based on BigInt, and a fast version, based on int.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add yet_another_decimal

With Flutter:

 $ flutter pub add yet_another_decimal

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  yet_another_decimal: ^1.0.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:yet_another_decimal/yet_another_decimal.dart';
1
likes
160
points
24
downloads

Publisher

verified publisheryet-another.dev

Weekly Downloads

Yet another package for working with decimals without loss of precision, including two versions - one for large numbers, based on BigInt, and a fast version, based on int.

Repository (GitHub)

Topics

#decimal

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

meta

More

Packages that depend on yet_another_decimal