convert range value into string before parsing and check value into Float