Sorry for the delay, I had to look this up and make sure everything traced out correctly… You should be able to get the tag, cast it to an ExecutableTag, and call “updateCurrentValue(TagValue)”. This will pass it through the configured scalar before updating the value, and storing it to the internal db.
Doing that, you shouldn’t need to scale it yourself. If you’re curious as to why it wasn’t working though, it’s probably due to the fact that the value scalar detects the datatype of the value, and casts it back to that after scaling. You’re probably passing in some sort of int type, which is why it’s getting cut off.
Let me know if this helps,