(Pre-existing) Using sscanf here at all looks a lot like a bug: surely we should use our standard string-to-number function that handles [kKmMgG%] suffixes ...