<?php $num = 3; list($num, $dec) = array_pad(explode(".", $num),2,0); echo "$num, $dec";
You have javascript disabled. You will not be able to edit any code.