numeric_utils 0.4.4 copy "numeric_utils: ^0.4.4" to clipboard
numeric_utils: ^0.4.4 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.
0
likes
160
points
342
downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

intl, rational

More

Packages that depend on numeric_utils