Determine if a string is numeric: Difference between revisions
m
→{{header|Fantom}}
(Another example inspired by Kotlin code) |
|||
Line 2,184:
class Main {
static Void main() {
inputs := ["152\n", "-3.141", "Foo123", "-0", "456bar", "1.0E10"]
|