Hello!
I'm very surprised when I put toInteger("ab7cde?z2n7k") and got 727 as a result. From my point of view it is not an integer at all.
Discussion posts and replies are publicly visible
Non-numeric characters will be removed and any decimals will be rounded down.
I solved the case by cleanwith(). But the issue still exists. toInteger() function allows incorrect input which is terrible.