3.0.0 • Published 3 years ago

@aureooms/js-rational-field v3.0.0

Weekly downloads
1
License
AGPL-3.0
Repository
github
Last release
3 years ago

:woman_farmer: @aureooms/js-rational-field

Rational field for JavaScript (ℚ). Based on @aureooms/js-rational and @aureooms/js-integer. See docs. Parent is @aureooms/js-algorithms.

Try it on RunKit!

:warning: The code needs a ES2015+ polyfill to run (regeneratorRuntime), for instance @babel/polyfill.

QQ.from('0.1').add(QQ.from('0.2')).toFixed(); // 0.3
QQ.from(355,113).toFixed(); // 3.|1415929203539823008849557522123893805309734513274336283185840707964601769911504424778761061946902654867256637168

License Version Build Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size