Skip to main content
1-Visitor
April 26, 2016
Question

Float values keep getting rounded to 2 decimal places.

  • April 26, 2016
  • 1 reply
  • 1598 views

Hello,

I have a service that receives data from an Arduino and these pieces of data are floats. I want to use these float values as longitude and latitude data, however once sent to my service, the float values are rounded to 2dp which is useless for location data.

I'm sending these floats to inputs of type "Number".

Any help is appreciated.

1 reply

1-Visitor
April 27, 2016

How are you viewing the data?

If you're looking at it in a Grid Widget, check the column configuration; there's a format parameter which you might need to adjust in order to see all the decimal places.