This might be simple to solve by using a simple panel with a digit parameter I actualy never use a text object to display numeric values by calculation, I only use it for string content. For displaying numeric values, I mostly do it via a panel with no background attached. Nevertheless, str_for_num should work in this case as well so just try it only with a panel.