900 metres would be "900 m", not "900m".
https://physics.nist.gov/cuu/Units/checklist.html, for example, says (item #15):
> There is a space between the numerical value and unit symbol ...
(although they fail to recommend making it a non-breaking space, which I think would be wiser).
There's plenty of further discussion to be found; e.g. https://forum.wordreference.com/threads/typography-rules-for...