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

10 lines (9 loc) 358 B
"use strict"; module.exports = { 'name': 'random', 'category': 'Probability', 'syntax': ['random()', 'random(max)', 'random(min, max)', 'random(size)', 'random(size, max)', 'random(size, min, max)'], 'description': 'Return a random number.', 'examples': ['random()', 'random(10, 20)', 'random([2, 3])'], 'seealso': ['pickRandom', 'randomInt'] };