Ubidots Community

[SOLVED] Using client.getValue(ID) what type of value do we get?

Client.get value is of which type? integer,float or string or something else?
Any help would be much appreciated.

Dear @qshahrukh41,

Most of the Ubidots libraries return a float or a double value for the get method. To verify which type of variable return the library used by you, I recommend you:

  1. Go to the Ubidots Github Repository
  2. Search the library used
  3. Check the type of the method in the .h file.

All the best,
Maria C.

1 Like

Float type when Client.getValue(variable_ID)