Facing issue while creating a basic calculator using Figma variables

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.

Hey @Shraddha_Poddar – can you send a copy of your calculator prototype over to our support team? I think this would be better addressed by them. They can check the connections to see where things may be breaking.

You can file a ticket here: https://help.figma.com/hc/en-us/requests/new?ticket_form_id=360001744374

Thanks @ksn

I have raised a ticket with the above issue.
Looking forward to hearing soon!