hasIllegallyPositionedUnderscore¶
fun hasIllegallyPositionedUnderscore(text: String, isFloatingPoint: Boolean): Boolean
Checks whether the given text contains an underscore in an illegal position. Underscores are allowed only between digits, not at the beginning or end of the number or one of its parts.