mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-06 07:01:02 +08:00
do not use NO-ZERO for none numeric cell values
This commit is contained in:
parent
04b143ca2e
commit
98a5df9870
|
@ -1548,10 +1548,13 @@ CLASS zcl_excel_ole IMPLEMENTATION.
|
|||
CLEAR contentsitem-value.
|
||||
|
||||
* if type is not numeric -> dun display with zero
|
||||
IF <item> CO '0123456789.,-+E '.
|
||||
WRITE <item> TO contentsitem-value NO-ZERO.
|
||||
|
||||
WRITE <item> TO contentsitem-value NO-ZERO.
|
||||
|
||||
SHIFT contentsitem-value LEFT DELETING LEADING space.
|
||||
SHIFT contentsitem-value LEFT DELETING LEADING space.
|
||||
ELSE.
|
||||
WRITE <item> TO contentsitem-value.
|
||||
ENDIF.
|
||||
|
||||
ENDIF.
|
||||
APPEND contentsitem TO contents.
|
||||
|
|
Loading…
Reference in New Issue
Block a user