DialogInputNumber

Functions

Link copied to clipboard
inline fun <T : Number> convert(input: String): T?
fun <T : Number> convert(value: T, input: String): T?

helper function to convert a text input to a number based on the number type

Link copied to clipboard
Link copied to clipboard

default validator that simply ensures, that the input is a valid number of type T