Author Topic: Basic label numeric format  (Read 1174 times)

MrPike

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Basic label numeric format
« on: October 29, 2020, 01:28:34 PM »
Would I be correct in assuming the numeric format property affects the display of the value by adding or truncating decimal places?  For example numeric format 0.0 would show a float value to one decimal place such as 9.7773 as 9.7and if I wanted two decimal places I would use 0.00 to get 9.77?.  My configuration below has 0.0 as the format but I am getting more than one decimal place.  Thanks. 

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Basic label numeric format
« Reply #1 on: October 29, 2020, 01:43:35 PM »
You are correct with the way the NumericFormat should work.  What version are you using? Is it the stock BasicLabel?

MrPike

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Re: Basic label numeric format
« Reply #2 on: October 30, 2020, 08:49:11 AM »
Yes this is the stock control from the toolbox.  I'm using 3.99yBeta36.  Thank you