make sure the array initial number to be an integer