2.0.1 • Published 10 months ago

soeasymath v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago
计算方法方法名别名
加法additionjiafa,jia
减法subtractionjianfa,jian
乘法multiplicationchengfa,cheng
除法divisionchufa,chu
科学计数法scientificNotationToString/

基本使用

// 全量引入
import soeasymath from "soeasymath"
// 按需引入
import { subtraction } from "soeasymath"
加法
import { addition } from "soeasymath"
console.log(addition(0.1,0.2,0.3....))
减法
import { subtraction } from "soeasymath"
console.log(subtraction(0.1,0.2,0.3....))
乘法
import { multiplication } from "soeasymath"
console.log(multiplication(0.1,0.2,0.3....))
除法
import { division } from "soeasymath"
console.log(division(0.1,0.2,0.3....))
使用别名
import { jiafa } from "soeasymath"
console.log(jiafa(0.1,0.2,0.3....))
科学计数法
import { scientificNotationToString } from "soeasymath"
console.log(scientificNotationToString(0.000000000000001))
2.0.1

10 months ago

2.0.0

12 months ago

1.0.6

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago