prevosti
Comments
- 
                FOUND:
 solution:
 FormatSettings.DecimalSeparator := ',';
 FormatSettings.thousandSeparator := '.';
 ppFormatSettings := FormatSettings;
 
- 
                the problem is only when i add this line
 DecimalSeparator := ',';
 the preview is ok, the export crashed
 
- 
                thousandSeparator := '.';
 
- 
                perfect, it also gives a variable for the thousands