Editing a plugin variable
Is it possible to edit a plugin variable?
I'm using RRVehicleMaintenance (RRVM) and the math in one of the variables is off by a decimal. I'd like to simply take that variable and multiply by 10 to get the result I'm looking for but I can't figure out how/if it's possible.
Does anyone know if RR allows this?
Never mind, it is possible. The way I did it wasn't pretty from a coding standpoint, but it works.
When I click on the fuel button the command is now "RRVM_FUEL||SETVARBYCODE;MPG;RRVM_MILESPERGALLON|| EVAL;MPGNEW;$MPG$*10" then have the label call MPGNEW instead of RRVM_MILESPERGALLON.