Implementation of :py:func:`pynspect.traversers.RuleTreeTraverser.float` interface.

def float(self, rule, **kwargs):
        """
        Implementation of :py:func:`pynspect.traversers.RuleTreeTraverser.float` interface.
        """
        rule.value = float(rule.value)
        return rule