How to change the calculator function

I have added a calculator and slightly customized it.
But I would like to change the code, so that when I see the result of the calculations, it has no decimal numbers.
So for 10 thousand I want to have the number of 10 000, not 10000,00
Also, I would like the output to have a $ sign, so it must look like $10 000
Please, let me know what I should re-write in the embedded code:

Here is my site Read-Only: [(Webflow - Amirra)][1]
([how to share your site Read-Only link][2])