Updates the Number widget to use floats or integers