sprintf: Regards the string an integer and formats it as a binary number
<? $total = 10.94; $fmt_total = sprintf ("%b", $total); echo "$fmt_total"; ?>