LOL, the irony of all this is that if people used all the SI prefixes consistently we would not need the ambiguous decimal points.
Simply shove the appropriate prefix as required to keep the value between 1 and 1000.
LOL, you are trying to take away the magic, of why some one called as technician in electronics !!
He called as mini magician because he use all this coding that the uneducated mind, cannot understand ...
If you simplify things that much, you are in danger to be called as electrician = low class magician