Converts the specified object to Number according to the rules: Tip:

You may call this function in a more method-like style:

obj.toNumber()