0

How to force a value to be integer not a float?

Martin Lang 8 лет назад в iRidium Script обновлен Jackie Roos 8 лет назад 1

hi,


is it possible to force a value in the channels/feedbacks via JS to be a integer and not a float?


when setting a feedback via JS like setting it to 100, is shows up as 100.000000


best regards,

martin lang

+1

Hi

To do this, when assigning to the feedback add a .toString()

:)



Сервис поддержки клиентов работает на платформе UserEcho