That's because SteamIDToCSteamID is a hackish conversion, but is easier on the processing than that proper method. CSteamIDToSteamID does it properly. It's a bit more complex than this, but you can't understand it without understanding the CSteamID class and how they work, the page on the VDC is largely incorrect in how SteamIDs function.