Skip to content

mathPow

指数运算

示例

ts
import { mathPow } from '@base-web-kits/base-tools-ts';
mathPow(2, 3); // => 8
mathPow('2.5', 2); // => 6.25

版本

  • 1.0.0 新增