After some further testing, it seems like it does not work for type: float, and only works for type: integer. However, a user can freely input anything apart from an integer - which requires a hard refresh and results in the value resetting to 0.
Seems like a bug/error on Discourse’s side? It also seems to affect the Chat plugin.