How can i round to the nearest thousand

Im currently in the process of making something.
I have no idea how to do this though.
I am trying to round a number down to the nearest thousand but only down not up. Example:
8600 = 8000
8200 = 8000
5500 = 5000
12750 = 12000
You get the idea.
How can i possibly do this? Instead of making a hundred if scripts for every thousand.

There are tons of ways to do this with custom scripts but what about just replace the last 3 digits with 000

1 Like

Oh yeah i didnt think of that lol thanks a lot.

Np, here is a regex for you to match the last 3 digits

or this one to match the last 3 digits of all numbers

Thanks thats a better way than getting length and using substring lol