I've been learning neural networks and some back propagation stuff, and I heard about google's Tensorflow and how it could learn things like how to carry on conversations. It got me thinking about how someone could give a computer data so that it could learn how to do that. So I was trying to figure out how you could teach a computer something like how to round a number to the nearest ten if a neural network can only output a number between 0 and 1. My question is how does someone teach a neural network concepts such as rounding a number to the nearest ten. For example how would you give a neural network data so that it could solve...
What is 47 to the nearest 10?
The answer is obviously 50. Another example also having to do with math is teaching a computer the concept of PEMDAS (Order of operations).
The answer I am looking for would be basically the steps for training neural networks to understand for example how to round numbers to the nearest ten.