« Respuesta #1 en: Viernes 26 de Mayo de 2006, 19:15 »
0
Checa así:
<?PHP
$decimal=12;
$guardar=" ";
while(division>=2) {
$decimal/2;
$residuo=decimal%2;
}
echo $guardar.$residuo;
?>
- Great works aren't produced on the first try. [Ernest Hemingway]
- Be ambitious, yet realistic in your dreams. Do something that makes a positive impact. Don’t let the nay-sayers get you down. [Bjarne Stroustrup]