const Command = require('../../structures/Command'); module.exports = class ScientificNotationCommand extends Command { constructor(client) { super(client, { name: 'scientific-notation', aliases: ['science-notation', 'e+', 'exponential-notation', 'exponential', 'scientific'], group: 'number-edit', memberName: 'scientific-notation', description: 'Converts a number to scientific notation.', args: [ { key: 'number', prompt: 'What number do you want to convert to scientific notation?', type: 'float' } ] }); } run(msg, { number }) { return msg.reply(number.toExponential()); } };