计算一个数字的小数部分。
一个数字的小数部分包括其小数值。例如, fract(12.34)
返回 0.34。
示例
语法
fract(n)
参数
n
数字:
将被计算的数字的小数部分。
返回值
数字: n的小数部分。
This page is generated from the comments in src/math/calculation.js . Please feel free to edit it and submit a pull request!