🪛 In Progress: Issue in the data binding

Hi

I Created the digit artboard and from there created the another artboard called rev

using nested artboards.

digit artboad:


rev artboard:

Steps done:

  1. created view model. Created the instance for each digit (0-9) and assigned the positions for each digit.

created instance:

Created position:

  1. used the formula floor(({Input}/pow(10.0,{{DigitViewModel1/position}}))%10.0))) to extract each digit from the input and assign the digits back to the artboard based on the position

  1. In the digit state machine, I gave the condition like below:

Now the issue is when I am giving the input through view model: like 123456789, I am getting the value as 123456792. Kindly help to resolve it. Attaching the video and sample file dashboard.rev for reference


dashboard.revrive2.mp4