From 3e59b838d4147cb62d5fc58f78194c2ff7b35354 Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:03:38 +0800 Subject: [PATCH] Update math_equivalence.py --- modeling/math_equivalence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modeling/math_equivalence.py b/modeling/math_equivalence.py index b5c066f..6d9f2d2 100644 --- a/modeling/math_equivalence.py +++ b/modeling/math_equivalence.py @@ -101,7 +101,7 @@ def _strip_string(string): # remove percentage string = string.replace("\\%", "") - string = string.replace("\%", "") + string = string.replace("%", "") # " 0." equivalent to " ." and "{0." equivalent to "{." Alternatively, add "0" if "." is the start of the string string = string.replace(" .", " 0.")