You cannot. You have to go own ways like storing and modifying the value in variables, displaying it in a multiboard, checking for it when it's about to be spent -> subtracting the price, aborting the action/not executing it if you do not have enough etc.