Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/11/2005, 06:08
Neoland
 
Fecha de Ingreso: noviembre-2005
Mensajes: 18
Antigüedad: 19 años, 5 meses
Puntos: 0
Hay una función
FormatNumber(expression, iDigits, bleadingDigit, bParen, bGroupDigits)
mira a ver si esto te sirve.


argument meaning
expression the variable holding the raw number
iDigits number of digits to right of decimal point
bleadingDigit 1 for leading zeros
0 for no leading zeros
bParen 1 for parenthesis around negative numbers
0 for no parenthesis around negative numbers
bGroupDigits 1 to display numbers as per regional settings in the Control Panel
0 to over-ride settings in the Control




De todas formas siempre puedes calcular la longitud total del número y empezar a separarlo poniendo comas o puntos donde corresponda, aunque esto es algo más chapucero.