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
21 lines (20 loc) • 401 B
JavaScript
export const unitDocs = {
name: 'unit',
category: 'Construction',
syntax: [
'value unit',
'unit(value, unit)',
'unit(string)'
],
description:
'Create a unit.',
examples: [
'5.5 mm',
'3 inch',
'unit(7.1, "kilogram")',
'unit("23 deg")'
],
seealso: [
'bignumber', 'boolean', 'complex', 'index', 'matrix', 'number', 'string'
]
}