LabVIEW Web UI Builder and Data Dashboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric control formatting glitch

I've encountered a formatting glitch with the Web UI numeric control. It's easy to reproduce:

 

Take a standard numeric control, and set Interval to 0.1

 

Use the buttons to increase the control value to 6, which is displayed as 5.99999999999999. This behavior continues until the value is increased to 10.1, where it reverts to normal. 22.5 is displayed as 22.5000000000001, and so on.

 

Any suggestions? Thanks.

0 Kudos
Message 1 of 4
(5,702 Views)

I wouldn't call this a formatting glitch, but instead a floating point rounding error.  But definitely a good catch!

-- Mike
0 Kudos
Message 2 of 4
(5,697 Views)

Agreed. I'm going to submit this to R&D for further investigation, and I will have a corrective action request reference number for you later on today. Thanks for the bug report!

 

Thanks,

0 Kudos
Message 3 of 4
(5,680 Views)

Hey All,

 

Sorry about the delay, CAR# 313413 has now been filed with R&D for further investigation. Thanks again for the bug report.

 

Thanks,

 

0 Kudos
Message 4 of 4
(5,663 Views)