How to convert 50.00 to 50 in php
This article mainly introduces how to convert 50.00 into 50 in php. It is very detailed and has a certain reference value. Friends who are interested must finish reading it!
Php 50.00 conversion method: 1, create a PHP sample file; 2, through the "var_dump ("% d ", 50.00);" method to directly convert 50.00 to 50.
This article operating environment: Windows7 system, PHP7.1 version, Dell G3 computer
How to convert php 50.00 to 50?
The code is as follows: