I am trying to create a basic calculator using Figma variables.
The calculator has 1-9 number keys and a result section linked to number variable #Result
Interaction on numbers takes place as follow:
Interaction logic:
Prototype mode: On clicking 7 multiple type result displayed is as follows:
Expected: 0, 7(0x10+7), 77(7x10=7),777, 7777, 77777, 777777,
Unexpected: 77777776, 777777792, -2147483648 (and stops)
Can anyone help me with the reason for this error, as I have rechecked all logics carefully.