Is a new template entity required to do some minimal changes to an entities value?

I have a numerical input helper. This helper has a step size of 1, so it only ever shows integers. However, it always shows up as x,0. Not a huge deal, but it annoys me (probably more than it should).

I’ve been looking around, and it seems like this can only be fixed by creating a new template entity in the configuration file, something like this:

- sensor:
  - Name: "test"
    value_template: "{{ states('input_number.test') | int }}"

If this would be reusable, and these three lines could be applied to multiple numerical inputs, that would be acceptable, but having to copy/paste this section for every numerical input I have? There has to be a better way.

So, is there an easier way to slightly modify the value of an entity?