Hello @europanafasetres,
This is a different question/topic. So, @Kal_Lam might move it to a separate thread.
A similar question has been discussed in the forum recently. See
https://community.kobotoolbox.org/t/is-it-possible-to-use-right-function-in-calculate/25088/2.
In your case, it would be YourNumber mod 10000.
You may always give the search function of this forum a trial, please. For ex. https://community.kobotoolbox.org/search?context=topic&context_id=25256&q=extract%20digit&skip_context=true
1 Like