packages_extensions

Last updated:

0 purchases

packages_extensions Image
packages_extensions Images
Add to Cart

Description:

packages extensions

packages_extensions #
This is a collection of extension methods fro classes that are not part of the core Dart language.
At present we have extensions for Decimal and Rational classes.
Features #
Decimal #
The DecimalExtensionsBase class contains the following methods:

isNegative
isZero
significand
significandLength
significandString
scaleFast
scaleAdv
precisionFast
toStringAsPrecisionFast

Rational #
The StringExtensionBase class contains the following methods:

roundToDecimal

Getting started #
Simply import the package and use the packages_extensions libray or area ones.
Usage #
Decimal.from(-1000000001).isNegative;
copied to clipboard
See the example folder for more examples
Additional information #
File issues on the github repository

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.