Uses tonumbervalue to avoid nil values.