Turn me on my side and i am everything, Cut me in half and i am nothing. What am I

Answer: Number "8" If you rotate it it becomes infinity (∞) and cut it into half it becomes "0".