Add a return value in an example

Without the return value, this helper doesn't return the value enter by the user
Merge pull request #565 from leblanc-simon/2.3

Add a return value in an example