Help with formatting numbers

I have an input field that accepts a number, I want to format the number to 0 decimal places. For the inputs logic I use a “ format localized decimal formula, after the “component on blur” I’ve also tried it with the “component on change” but it just turns the value that’s already been typed as the page variable to null it makes the input field blank. Can someone please help.

I’ve tried everything can someone please help me?