num_utilities 1.0.5 num_utilities: ^1.0.5 copied to clipboard
A collection of extension methods for nums, ints, and doubles; and iterables of nums, ints, and doubles.
[1.0.5] - January 18, 2023 #
-
Added the [center] and [map] methods to [Range].
-
Added the [sign] extension method to [Random].
[1.0.4] - December 1, 2022 #
- Added the [Range] object.
[1.0.3] - July 11, 2022 #
- Added the [isWithin] and [isWithinRange] methods to [num].
[1.0.2] - January 6, 2022 #
- Added the [roundToPrecision] method to [num] and [double].
[1.0.1] - March 15, 2021 #
-
Updated every method and getter to cast to and reference a single implementation of each respective method/getter on
Iterable<num?>
. -
Added the [isIncremental] and [isDecremental] methods to
Iterable<num>
.
[1.0.0] - March 3, 2021 #
-
Migrated to null-safe code.
-
Added the [invert] getter to [num], [int], and [double].
[0.1.0] - January 28, 2021 #
- Initial release.