Open bentron2000 opened 1 day ago
Have noticed a bug in version 0.16.1 in the implementation of String.format() Discrepancy between display of result in edit vs run or debug modes.
To Reproduce:
String.format(".2f",1.1)
EDIT
1.10
RUN
DEBUG
.2f
Expected behavior Expect the result to be 1.10 in both cases.
Desktop :
LVGL version
Format specification for the String.format function when used in LVGL project must use % prefix. So, your expression should be String.format("%.2f",1.1).
Have noticed a bug in version 0.16.1 in the implementation of String.format() Discrepancy between display of result in edit vs run or debug modes.
To Reproduce:
String.format(".2f",1.1)
EDIT
mode, observe the label correctly display as1.10
RUN
orDEBUG
mode, observe the label display as.2f
Expected behavior Expect the result to be
1.10
in both cases.Desktop :
LVGL version