Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个公式,它是从电子表格单元格公式翻译而来的
((0.001559 * 6224 ) + 2.476) / 2 * 101.61%
乘除部分很简单......但我的问题是百分比问题,如何在 PHP 中将商与 101.61% 相乘?
只需乘以百分比除以 100 - 所以 101.61% 变为* 1.0161:
* 1.0161
((0.001559 * 6224 ) + 2.476) / 2 * 1.0161
尝试这个
((((0.001559 * 6224 ) + 2.476) / 2) / 100 ) * 101.61