Resolving "Invalid IEEE Floating Point Format" Compilation Errors in CX-Programmer
Overview
When opening an existing project in CX-Programmer, you may encounter compilation errors even though the project previously worked correctly on other PCs. One of the most common messages is:
Invalid IEEE Floating Point format


In most cases, this issue is caused by a mismatch between the project's floating-point number format and the decimal separator configured in the Windows regional settings.
Reason for the Error
Different regions use different characters as the decimal separator:
-
Period (.) – for example,
1.5 -
Comma (,) – for example,
1,5
If a project was created on a computer using one decimal format and is opened on a computer using the other, CX-Programmer may be unable to interpret floating-point values correctly, resulting in compilation errors such as Invalid IEEE Floating Point format.
Resolution
There are two ways to resolve this issue.
Option 1 – Update the Floating-Point Values in the Project
Modify the floating-point constants in the project so they match the decimal separator used by your Windows regional settings.
For example:
-
Change
1,5to1.5if your system uses a period as the decimal separator. -
Change
1.5to1,5if your system uses a comma as the decimal separator.
This option permanently updates the project to match your local settings.
Option 2 – Change the Windows Decimal Separator
If you do not want to modify the project, you can temporarily change the Windows regional setting to match the format used by the project.
- Open Settings.
- Navigate to Time & Language → Language & Region.
- Under Regional format, open the number formatting settings (or Additional settings, depending on your Windows version).
- Change the Decimal symbol to match the project's floating-point format.

- Close and restart CX-Programmer.
- Open the project and compile it again.
Note: CX-Programmer must be restarted before the change to the decimal separator takes effect.
Suggestion
If you only need to compile and transfer the project, temporarily changing the Windows decimal separator is often the quickest solution.
After successfully compiling and downloading the project, we recommend restoring your Windows regional settings to their original values so that other applications continue to behave as expected.