jQuery MiniUI
标题:
numberFormat补零问题
[打印本页]
作者:
MK_AlieZ
时间:
2018-3-12 11:01:24
标题:
numberFormat补零问题
本帖最后由 MK_AlieZ 于 2018-3-12 11:02 编辑
numberFormat能不能设置保留多少位小数,没有那么多小数位的时候不补零
作者:
felt
时间:
2018-3-12 15:07:02
numberFormat="n2"是数字格式化,不管你有多少位小数都会补零成你设置位数的小数。没有小数的时候也会补
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2