Skip to content

Decimals in Edit Boxes

Either the comma or the point may be selected as decimal separator via the menu Options|Miscellaneous. The default setting is the point.

For all numbers with decimals entered in CadnaA, use the selected decimal separator. Entering decimals without a leading zero is not accepted; a leading zero is always required (so 0.01, not .01).

Decimal separator in object dialogs

In many cases, the program accepts either a comma or a point, interpreting it as the active separating character. However, this is not possible in all dialogs. For example, in the edit polygon point dialog, but not in the table, you may separate the decimals of the x, y and z coordinates of a polygon point, of track centre line distance and slope by either a comma or point. In this case, CadnaA is able to correct the decimal point or the comma by taking it as the valid decimal separator.

Decimal separator with calculation operations

In other boxes, however, which are used for performing calculation operations, decimals must be separated by a decimal point. Otherwise, the value will be misinterpreted or its acceptance refused.

Decimal separator in object tables

Use the active decimal separator when you are editing in the object tables directly. Otherwise it could be that the values are not correctly interpreted.

Interpretation by other WINDOWS software

The correct interpretation of the decimal separator of CadnaA in other WINDOWS software programs also depends, among other things, on the country settings of the operating system.

Example: MS-Excel

It could happen, e.g. in MS-Excel that values inserted from a CadnaA table via the clipboard are interpreted as a date and not with the correct number format. In this case you may have chosen the comma as decimal separator in the system settings. To rectify the false interpretation adjust the setting with a point for the decimal separator.