Picture element card - number rounding

I’m using a picture element card to present sensors. I know how to round a sensor entity.

One of my sensor items is fan speed which is a percentage.
Code

  • type: state=label
    Entity: number.hb_2_fan_speed

The item number.hb_2_fan_speed is presented with 2 decimals and I’m looking for no decimals . So 43% vs 43,23%

try reduce a precision in UI settings for this entity

Not sure if I understand.
Under integration > entities I see the option ‘display precision’ for sensors. (sensor.hb_temp_inlet). This option is missing for a number entity (number.hb_2_fan_speed)
Which UI settings are you refering to?

Sorry, missed a fact that this is a number.

Did you create this “number” entity by yourself? Or it is created by some integration?
If by yourself - then did you set a “step” value fractional?
If it was created by some integration - you can create a template sensor for this “number” entity with a desired precision.

It was create by an integration.
Will check template sensor option.
Is integration helpers the best way forward?
Looking for some examples.