PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $input = 1107003; $output = intdiv($input, 100) . "." . str_pad($input % 100, 2, '0', STR_PAD_LEFT);; echo $output, "\n"; $input = 3; $output = intdiv($input, 100) . "." . $input % 100; echo $output;
Show:  
Copy Clear