taurus-org / taurus

Moved to https://gitlab.com/taurus-org/taurus
http://taurus-scada.org
43 stars 46 forks source link

Display scientific format #1131

Closed hayg25 closed 4 years ago

hayg25 commented 4 years ago

Dear All, I tried to display vacuum value in scientific format using TaurusLabel. Unfortunately, pressure value at 1.2E-6 mBar (format %3.3e) is showed at zero ... When I try to set the format %1.7f : I could see correct float display on TaurusLabel.

Thanks for the feedback

hayg25 commented 4 years ago

Dear All, ok I found : using setFormat('{:4.2E}') makes all the changes I needed.

Thanks