Closed muryno closed 1 month ago
Fixes: #403
I will check that as soon as possible
I will check that as soon as possible
@Darkempire78 are you able to review my MR 😊
Sorry @muryno for the wait... I was very busy Btw, there is a conflict, can you fix it please ?
In fact, it was already fixed thanks to https://github.com/Darkempire78/OpenCalc/pull/433
Fixes #403
fix: In the original code, there were a few hiccups in handling number formatting, especially around the use of decimal and grouping separators. To address this, I revised the logic to accurately incorporate these separators into numbers. I also made sure that when numbers are being formatted and replaced back into the text, we only replace the first instance of each number to avoid duplicating changes. These tweaks ensure that numbers within any text are formatted correctly, maintaining the intended structure and readability.