mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
exponential
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
54d2c00d17
commit
e2d23aa4af
1 changed files with 4 additions and 0 deletions
|
@ -457,6 +457,10 @@ const baseValues = {
|
|||
return result / parseFloat(arg);
|
||||
}, args[0]);
|
||||
},
|
||||
exp(base, power) {
|
||||
if (isNaN(base) || isNaN(power)) return 0;
|
||||
return Math.pow(parseFloat(base), parseFloat(power));
|
||||
},
|
||||
cases(mod, ...cases) {
|
||||
if (cases.length === 0) return "";
|
||||
if (isNaN(mod)) return "";
|
||||
|
|
Loading…
Add table
Reference in a new issue