Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/11/2005, 12:46
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años, 9 meses
Puntos: 5
trata de modificar esta funcion que tengo para formatear un valor y colocarle las comas. de repente te pueda servir

Código PHP:
function formatNmb(nNmb){ 
 var 
sRes ""
 for (var 
jnNmb.length 10>= 0i--, j++) 
 
sRes nNmb.charAt(i) + ((0) && (== 0)? ",""") + sRes
 return 
sRes

me cuentas como te va
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.