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
20 lines (19 loc) • 438 B
JavaScript
export const bignumberDocs = {
name: 'bignumber',
category: 'Construction',
syntax: [
'bignumber(x)'
],
description:
'Create a big number from a number or string.',
examples: [
'0.1 + 0.2',
'bignumber(0.1) + bignumber(0.2)',
'bignumber("7.2")',
'bignumber("7.2e500")',
'bignumber([0.1, 0.2, 0.3])'
],
seealso: [
'boolean', 'complex', 'fraction', 'index', 'matrix', 'string', 'unit'
]
}