Skip to content

Conversation

tirthankarg
Copy link

// old (not working)
// import { Fraction } from 'fractional';

// new
import Fraction from 'fraction.js';

And
new Fraction(ing.quantity).toFraction(true).
}

// old (not working)
// import { Fraction } from 'fractional';

// new 
import  Fraction from 'fraction.js';

And  
new Fraction(ing.quantity).toFraction(true).
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant