fract()

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

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

実例

シンタックス

fract(n)

パラメーター

n
Number:

小数部分を求める数値。

リターン

Number: nの小数部分。
This page is generated from the comments in src/math/calculation.js . Please feel free to edit it and submit a pull request!

関連するリファレンス