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

Martin Lang 7 jaar geleden in iRidium Script bijgewerkt door Jackie Roos 7 jaar geleden 1


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



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