这篇文章主要介绍了php中的除数如何取整,需要的朋友可以参考下
示例:
复制代码 代码如下:
$father = intval(floor($evalue/500))*500;
,
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