< 返回新闻资讯列表
number_format函数在PHP中的参数有哪几种,numberformat函数
发布时间:2024-08-08 06:41:40
number_format函数在PHP中的参数有哪几种
number_format函数在PHP中有四个参数,分别是:
- number:要格式化的数字。
- decimals:可选参数,指定要保存的小数位数,默许为0。
- decimalpoint:可选参数,指定小数点的分隔符,默许为"."。
- separator:可选参数,指定千位分隔符,默许为","。
tiktok粉丝购买:https://www.smmfensi.com/