Home >php教程 >php手册 >php 保留两位小数

php 保留两位小数

WBOY
WBOYOriginal
2016-06-06 20:14:112039browse

?php ?? ?echo sprintf("%.2f", "3.1415926"); ? 转 [] 原文地址:php 保留两位小数, 感谢原作者分享。

转 […]
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn