Change Array To Float Javascript Interviewbit