<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rpn2val(self, rdict):
 """ Resolve the rpn string into calulated float number USAGE: rpn2val(rdict) :param rdict: json like dict """


        kw_name = list(rdict.keys())[0]  # b11
        kw_val = rdict[kw_name]
        try:
            kw_type = list(kw_val.keys())[0]  # csrcsben
            kw_param = list(kw_val.values())[0]
            if kw_type != 'beamline':
                for k, v in kw_param.items():
                    v = self.scanStoVars(v)
                    rpnval = rpn.Rpn.solve_rpn(v)
                    if rpnval is not None:
                        kw_param[k] = rpnval  # update rpn string to float if not None
        except:
            pass