35 | | 1,000,11 or 1,000,000,11 which could get converted to an integer, so the next time intcomma gets called, it thinks that the SafeText type could now get converted to an integer and will then return himself. |
36 | | So this will be an uncorrect return value it should return either the correct output of 1.000.000,11 or nothing since it isn't a valid number. But i think its better to check if isinstance(value, int) and if not it should check if isinstance(value, float) and when nothing is correct it should try to convert to float |
| 35 | 1,000,11 or 1,000,000,11 which could get converted to an integer, so the next time intcomma gets called, |
| 36 | it will just say that it won't get changed so it returns the SafeText String that is incorrect and won't make any sense. |
| 37 | So this will be an uncorrect return value it should return either the correct output of 1.000.000,11 or nothing since it isn't a valid number. |
| 38 | So I think it would be better to better check the value for localized format numbers or maybe better make a SafeDecimal or SafeFloat variable as a output of floatformat. |