small-float-num-demo - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of small-float-num-demo.php
- <?php
- // Primer kako se ponaša PHP - već za brojeve manje od 0.0001, prebacuje ih u E notation
- $small4dec = 0.0001;
- $small5dec = 0.00001;
- $small6dec = 0.000001;
- $smallStr4 = (string)$small4dec;
- $smallStr5 = (string)$small5dec;
- $smallStr6 = (string)$small6dec;
- var_dump($small4dec);
- var_dump($small5dec);
- var_dump($small6dec);
- var_dump($smallStr4);
- var_dump($smallStr5);
- var_dump($smallStr6);
File Description
- small-float-num-demo
- PHP Code
- 06 Jan-2021
- 398 Bytes
You can Share it:
Latest PHP Pastes