How to extend the number prototype with a custom function