I am trying to align data on various display ( LCD 4x20 I2C, OLED Display, etc), using the STR$ function as per the example in Annex Help.
(Firmware Annex32 CAN 1.51.5 LFS on ESP32)
Code: [Local Link Removed for Guests]
''Test STR$Function as per Annex Help
'Missing leading spaces when using %x format
a=12.34567890
wlog "Value=";STR$(a,"%2.4f") 'should print Value=12.3457, - (note also the rounding on decimals)
wlog "Value=";STR$(a,"%3.5f") 'should print Value= 12.34568
Where is the problem ?
Thank you for your advices,
JP