The long and the short of it
The format of abbreviations, in particular whether they end with a full stop or not, might seem a bit capricious. But the format of abbreviated words follows a fairly simple rule.
All spaced out
Always insert a space between an SI symbol and its number. The space is more than just a convention: it is a requirement of the international and Australian standards that govern the use of SI symbols.