Appearance
高精度加法(支持多个参数连加)。
import { mathPlus } from '@base-web-kits/base-tools-ts'; mathPlus(0.1, 0.2); // => 0.3 mathPlus('0.1', '0.2'); // => 0.3 mathPlus(1, 2, 3, 4); // => 10 // 多参数连加: 1+2+3+4