diff --git a/src/formatting.rs b/src/formatting.rs index 5292282..fa18bd2 100644 --- a/src/formatting.rs +++ b/src/formatting.rs @@ -34,7 +34,8 @@ pub fn pretty_eval(mut input: String) -> Result { "" }, if should_add_back_backslash { " \\" } else { "" } - )) + ) + .replace('e', " * 10^")) } #[test] fn test_character_readdition() {