fract()

数値の小数部分を計算します。

数値の小数部分には、その小数値が含まれます。例えば、 fract(12.34) は 0.34 を返します。

実例

シンタックス

fract(n)

パラメーター

n
Number:

小数部分を求める数値。

リターン

Number: nの小数部分。
Notice any errors or typos? Please let us know. Please feel free to edit src/math/calculation.js and open a pull request!

関連するリファレンス