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

14 lines (13 loc) 542 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fixDocs = void 0; const fixDocs = exports.fixDocs = { name: 'fix', category: 'Arithmetic', syntax: ['fix(x)', 'fix(x, n)', 'fix(unit, valuelessUnit)', 'fix(unit, n, valuelessUnit)'], description: 'Round a value towards zero. If x is complex, both real and imaginary part are rounded towards zero.', examples: ['fix(3.2)', 'fix(3.8)', 'fix(-4.2)', 'fix(-4.8)', 'fix(3.241cm, cm)', 'fix(3.241cm, 2, cm)'], seealso: ['ceil', 'floor', 'round'] };