mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 16:56:11 +08:00
do not use NO-ZERO for none numeric cell values (#1100)
This commit is contained in:
parent
829529cf6a
commit
2b01655cab
|
@ -1548,10 +1548,13 @@ CLASS zcl_excel_ole IMPLEMENTATION.
|
||||||
CLEAR contentsitem-value.
|
CLEAR contentsitem-value.
|
||||||
|
|
||||||
* if type is not numeric -> dun display with zero
|
* 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.
|
||||||
|
ELSE.
|
||||||
SHIFT contentsitem-value LEFT DELETING LEADING space.
|
WRITE <item> TO contentsitem-value.
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
ENDIF.
|
ENDIF.
|
||||||
APPEND contentsitem TO contents.
|
APPEND contentsitem TO contents.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user