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) • 318 B
JavaScript
;
module.exports = {
'name': 'pi',
'category': 'Constants',
'syntax': ['pi'],
'description': 'The number pi is a mathematical constant that is the ratio of a circle\'s circumference to its diameter, and is approximately equal to 3.14159',
'examples': ['pi', 'sin(pi/2)'],
'seealso': ['tau']
};