Edgar Avuzi
03/07/2025, 1:47 AMKlitos Kyriacou
03/07/2025, 9:13 AMfun Char.isNumberChar() = isDigit() || this == '.'. The isDigit() method includes digits in all languages; for example, '१'.isDigit() is true, but the language only accepts the ASCII '0' to '9' as valid digits for number literals.