convert
helper function to convert a text input to a number based on the number type
Return
the input converted to the number class T or null
Parameters
value
the input dialog state from which the desired number type is derived
input
the input string that should be converted to the number class T
helper function to convert a text input to a number based on the number type
Return
the input converted to the number class T or null
Parameters
input
the input string that should be converted to the number class T