UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

16 lines (15 loc) 422 B
module.exports = { 'name': 'print', 'category': 'Utils', 'syntax': [ 'print(template, values)', 'print(template, values, precision)' ], 'description': 'Interpolate values into a string template.', 'examples': [ 'print("Lucy is $age years old", {age: 5})', 'print("The value of pi is $pi", {pi: pi}, 3)', 'print("Hello, $user.name!", {user: {name: "John"}})' ], 'seealso': ['format'] };