Convert a value from grams to kilograms.
Result = input × 0.001
Example: 1 grams ≈ 0.001 kilograms
Convert back to grams