For advanced prototyping with numbers and value changes take a look at ProtoPie. Figma is a very basic prototyping tool. And you don’t need that fidelity anyway most of the time. You can simulate it with 3-5 frames in Figma, this would be enough to show the concept, and then the developers will implement that in the actual software. Don’t forget that you are prototyping, not making a finished product that has all the details and programming.