This statement allows you to return a value from a function.
It is optional to add a return statement to a function - without one it is assumed that a "null" value is returned.
This will be interpreted as a numeric zero, a blank string or a null object, depending on the context.
The statement has the following format:
return expressionFor example:
return (x+5)/2;