Skip to content

Value with more than 2 decimal points does not return correctly #25

Description

@rootinthemood
from ubidots import ApiClient;

api = ApiClient(token='------------------------------------------')
var = api.get_variable('------------------------------------------')

last_value = var.get_values(1)

print(last_value[0]['value'])

results in: 1.02, expected: 1.016

In profile 'Decimal places' is set to 3. Changing this to 5 has no effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions