Hello! I understand this was ages ago but I am hopeless 😅
I just used this expression and it worked perfectly for what I needed: I have a text layer that pulls data from a spreadsheet and a second text layer that has this number animated counting up (used the expression on this layer on a slider control).
The only issue is that the number pulled from the spreadsheet has decimal numbers, like 5.15 and the counter somehow rounds it up and I end up with 5.00. So I do have decimal numbers added (see on the screenshot) on the counter expression but for some reason, it rounds to 0 😓