<@U0BJ7RC3B>: thanks! :simple_smile: Finally, I’ve...
# announcements
e
@apptreematt: thanks! simple smile Finally, I’ve done it that way:
Copy code
fun String.asInt(radix: Int = 10) = try {
    Integer.parseInt(this, radix)
} catch(e: Throwable) {
    null
}
And using:
setText( (text.asInt() ?: 0).toString() )