数学函数

  • 四舍五入
f := 3.1415926

// output: 3.14
f2 := mathlib.Round(f, 2)

// output: 3
f3 := mathlib.Round(f, 0)

results matching ""

    No results matching ""