converting Object val types from Integer to Number