setnumber

sofia_redux.toolkit.utilities.func.setnumber(value, minval=None, maxval=None, default=1, dtype=<class 'int'>)[source]

Sets a value to a valid number type