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) 402 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.formatDocs = void 0; var formatDocs = exports.formatDocs = { name: 'format', category: 'Utils', syntax: ['format(value)', 'format(value, precision)'], description: 'Format a value of any type as string.', examples: ['format(2.3)', 'format(3 - 4i)', 'format([])', 'format(pi, 3)'], seealso: ['print'] };