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) • 345 B
JavaScript
;
module.exports = {
'name': 'floor',
'category': 'Arithmetic',
'syntax': ['floor(x)'],
'description': 'Round a value towards minus infinity.If x is complex, both real and imaginary part are rounded towards minus infinity.',
'examples': ['floor(3.2)', 'floor(3.8)', 'floor(-4.2)'],
'seealso': ['ceil', 'fix', 'round']
};