Hey, you gotta provide the contract code, and also supply the client side (JavaScript, I guess?) code used to set and get the values.
Anyway, as much as I can understand from your question, your problem could be that you are calling setNumber(10) on your smart contract i.e. myContract.setNumber.call(10). Doing this wont actually update the state of the contract as .call() simply looks up the current state of the chain rather than altering it.