Just trying to get this script to insert an integer. Currently it's inserting a decimal as well. e.g. 65.0
Cant seem to change the bit of code that will insert it as just 65
- Code: Select all
new_string = "stat_{}".format(
indigo.variables["TstatLivingRoomSet"].value,
)
indigo.variable.updateValue( "Photos", new_string)
I assume it uses .getvalue(int) somehow?
Thanks,
Carl