Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js convert to fraction

>>> npm install fractional
import * from './fraction.js'

var frac = new Fraction(0.3435);
console.log(frac.toString());
// returns "34/35"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #convert #fraction
ADD COMMENT
Topic
Name
5+3 =