numeric_utils 0.4.6 copy "numeric_utils: ^0.4.6" to clipboard
numeric_utils: ^0.4.6 copied to clipboard

Provides extensions and utility functions for working with numeric types in Dart, including Rational and BigInt.

example/README.md

Numeric Utils Examples #

This directory contains examples for the numeric_utils Dart library.

Running Examples #

To run these examples:

  1. Navigate to the example/ directory.
  2. Run dart pub get to install dependencies.
  3. Run the desired example file using dart run <example_file_name>.dart.

Examples #

  • basic_usage.dart: Demonstrates basic usage of the library.
  • common_use_case.dart: Shows common use cases like rounding prices and measurements.
  • edge_cases.dart: Demonstrates how to handle edge cases and errors.
  • advanced_features.dart: Showcases advanced features like custom formatting and halfEven rounding.
1
likes
160
points
219
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Provides extensions and utility functions for working with numeric types in Dart, including Rational and BigInt.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

intl, rational

More

Packages that depend on numeric_utils