Handles powers of ten correctly