Home Manual Reference Source

:pizza: @aureooms/js-rational


User:Acdx / Public Domain

Fractions for JavaScript. See @aureooms/js-rational-field for an implementation of the rational field ℚ base on this library and @aureooms/js-integer. See docs. Parent is @aureooms/js-algorithms.

let [ a , b ] = add( 1 , 10 , 1 , 5 ) ;
a / b === 3 / 10 ; // true

License Version Build Dependencies Dev dependencies GitHub issues Downloads

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