How many milligrams are equivalent to gram?

1000