how can i change my number into decimal number

I have people's weight data (Kg) but some of them were entered mistakenly without decimal. for example, 42.600 is 42600 0r 52.700 is 52700
I want all numbers with three decimal places.
can anyone help me with how to do this?

What format is your data in? Just divide by 1000 if they are over something like 150kg. You should provide a reproducible example.

Something like:

weight_corrected <- ifelse(weight > 500, weight/1000, weight)