Change algorithm for to_engineering_string()