Ver Mensaje Individual
  #4  
Antiguo 29-11-2011
Avatar de Al González
[Al González] Al González is offline
In .pas since 1991
 
Registrado: may 2003
Posts: 5.604
Reputación: 29
Al González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en brutoAl González Es un diamante en bruto
Como dato adicional, decir que es suficiente con que el formato lleve una coma:
Código Delphi [-]
Label1.Caption := FormatFloat (',0', Valor);
Cita:
Empezado por Tema "FormatFloat function" de la ayuda
, Thousand separator. If the format string contains one or more ',' characters, the output will have thousand separators inserted between each group of three digits to the left of the decimal point. The placement and number of ',' characters in the format string does not affect the output, except to indicate that thousand separators are wanted. The actual character used as a the thousand separator in the output is determined by the ThousandSeparator global variable or its TFormatSettings equivalent.
Saludos.

Al González.
Responder Con Cita