decimal-point is comma is no longer handled
That worked until we switched away of cob_get/put_field_str, can you handle the decimal point depending on module->decimal_point, please?
Current handling of decimal-point is comma:
(gdb) cp /d SOME-VAL
Name: 03 SOME-VAL/SOME-REC/PROG1 [W-S]
Display: +000000000000.000000
Hex: 0x30303030303030303030303030303030...(18 total bytes)
Field: <none>
Base: b_352 ( 0x7fffe784a720 )
Offset: 39
Length: 18
DataLoc: 0x7fffe784a747
Attr: a_24
AttrType: 16 (0x10) NUMERIC_DISPLAY
AttrDigits: 18
AttrScale: 6
AttrFlags: 0x1 HAVE_SIGN
Data: (HEX) [ 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 ]
Data: (ASCII) "000000000000000000"
the display is expected to be
+000000000000.000000
more important
(gdb) cp SOME-VAL=15,34
No symbol matches "15,34" in current context
is expected to work.
TODO: check module->decimal_point
and use this (that is in since old OpenCOBOL days and works) instead of the fixed .