Binary Search Feedback
I see 1 bug, 1 problem and 1 minor thing:


as listed in the comment above: You are returning the number instead of the index. That's not very helpful for a binary search algorithm ;)
when the array does not contain the item you are returning 0. 0 is a valid array index, by convention you'd return -1 in that case.
not much of a problem but unnecessary: local variable number in first else block is obsolete.