Remove decimals from numbers

How to remove decimals from number . If someone added 50000 it shows 50,000. If someone added 125000 it shows 1,25,000 like this . I want it plain numbers .Even year 2022 shows 2,022 . tried using text attribute but fear that it create issues in search because people search like 2022 model bike , sometimes price range etc. If it’s not possible then how these decimals can be controlled.

Hi,

Please check this topic Remove decimal points in number attributes