Banker's Rounding (Round Half to Even) for Dart

A Dart package that implements Banker's Rounding (Round Half to Even), ensuring unbiased numerical rounding.

📌 Features

✅ Correctly rounds numbers to the nearest even number when the fractional part is exactly 0.5.
✅ Supports rounding to a specified number of decimal places.
✅ Works with both positive and negative numbers.
✅ Fully tested with unit tests.

📦 Installation

Add the package to your pubspec.yaml:

dependencies:
  half_even: ^1.0.0

Libraries

half_even