<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _eval_num(self, node):
 """ Evaluate a numerical node :param node: Node to eval :return: Result of node """

        if self.floats:
            return node.n
        else:
            return int(node.n)