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 • 367 B
JavaScript
export var fractionDocs = {
name: 'fraction',
category: 'Construction',
syntax: ['fraction(num)', 'fraction(num,den)'],
description: 'Create a fraction from a number or from a numerator and denominator.',
examples: ['fraction(0.125)', 'fraction(1, 3) + fraction(2, 5)'],
seealso: ['bignumber', 'boolean', 'complex', 'index', 'matrix', 'string', 'unit']
};