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.