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
14 lines (13 loc) • 565 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.numericDocs = void 0;
var numericDocs = exports.numericDocs = {
name: 'numeric',
category: 'Utils',
syntax: ['numeric(x)'],
description: 'Convert a numeric input to a specific numeric type: number, BigNumber, or Fraction.',
examples: ['numeric("4")', 'numeric("4", "number")', 'numeric("4", "BigNumber")', 'numeric("4", "Fraction")', 'numeric(4, "Fraction")', 'numeric(fraction(2, 5), "number")'],
seealso: ['number', 'fraction', 'bignumber', 'string', 'format']
};
;