Author Topic: how to read float value  (Read 685 times)

mourazo

  • Newbie
  • *
  • Posts: 31
    • View Profile
how to read float value
« on: December 05, 2019, 02:51:52 AM »
I obtain the next value of PLC 2.38772e-2. I try obtain this value in a basiclabel, but I obtain 2. How I can obtain the real value with the conversion(0.0238772)  in a basiclabel?? Thanks.
« Last Edit: December 05, 2019, 04:01:20 AM by mourazo »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5269
    • View Profile
    • AdvancedHMI
Re: how to read float value
« Reply #1 on: December 05, 2019, 07:22:32 AM »
What driver are you using?

mourazo

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: how to read float value
« Reply #2 on: December 05, 2019, 04:23:05 PM »
I've solved muy doub, i add F before The plcadress and i can read the exact value. Thanks Archie