fixed string value problem for number variables, keeping a nice display
value