Extracting Last number of array that is not a zero

Start from the end of the array, and work back.