If you remove the formatted as, you can save the value as a number. Then, you can retrieve in the UI and format it there.
Or, you can try use the rounded or ceiling or floor functions to control the number of decimals.