round number to nearest ten thousand
I have a problem here. I need a function that takes a number between 20 000 - 350 000 and rounds that number to the nearest ten thousand. Im actually quite clue less here.

I want it to work like:

if the function receives the number 120 435 it should return 120 000 wich is the nearest ten thousand etc..

Anyone having an idea here?
round number to nearest ten thousand
===

I have a problem here. I need a function that takes a number between 20 000 - 350 000 and rounds that number to the nearest ten thousand. Im actually quite clue less here.

I want it to work like:

if the function receives the number 120 435 it should return 120 000 wich is the nearest ten thousand etc..

Anyone having an idea here?