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

8 lines 349 B
export var randomIntDocs = { name: 'randomInt', category: 'Probability', syntax: ['randomInt(max)', 'randomInt(min, max)', 'randomInt(size)', 'randomInt(size, max)', 'randomInt(size, min, max)'], description: 'Return a random integer number', examples: ['randomInt(10, 20)', 'randomInt([2, 3], 10)'], seealso: ['pickRandom', 'random'] };