power_extensions 0.1.0 power_extensions: ^0.1.0 copied to clipboard
Extensions for the core dart language classes.
Core Extensions #
This package contains useful extensions for the dart language core classes
Features #
BigInt #
The BigIntExtension class contains the following methods:
- powerOfTen
- isPowerOfTen
- significandString
- significand
- significandLength
Getting started #
Simply import the package and use the core_extensions libray or the big_int_extension one (at present it is the only one).
Usage #
BigInt.from(-1000000001).isPowerOfTen;
See the example folder for more examples
Additional information #
File issues on the github repository