UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

8 lines 228 B
export var numDocs = { name: 'num', category: 'Fraction', syntax: ['num(x)'], description: 'Get the numerator of a fraction.', examples: ['num(fraction(2, 3))', 'num(fraction(5, 8))'], seealso: ['den', 'fraction'] };