Ver Mensaje Individual
  #12 (permalink)  
Antiguo 30/06/2005, 08:09
rrufo
 
Fecha de Ingreso: enero-2002
Mensajes: 1.438
Antigüedad: 22 años, 3 meses
Puntos: 0
Cita:
Iniciado por nicolaspar
Como estas seteando dichos numeros? intentaste poniendole a cada valor un parseInt?

PD: parseInt es parseInt(valor,decimales) si mal no recuerdo.
recuerdas mal

You can use the optional radix argument to convert a binary number string to the decimal (base 10) equivalent.

Code:
document.write(parseInt("110", 2))

Output:
6

You can use the optional radix argument to convert a hexidecimal number string to the decimal (base 10) equivalent.

Code:
document.write(parseInt("0xD9", 16))

Output:
217