Leading zeroes for number
I want to make a 3d timer with geometry nodes but there is no way for me to add zeroes before a single-digit number. I'm trying and trying but I couldn't find a way. I looked up for a solution but I can't find any. A new function that add leading zero would be much appreciated!
Love to Blender Development Team ;)
EDIT:
Got my solution thanks to Lauloque. I copy their code to my node group. Thanks a lot :D
2 Comments
It's in fact already possible:
There are probably smart ways to make it work with negative numbers and also chose whether to zero-pad on the left and right, with a nice node group for good user experience.
OMG you're awesome. I couldn't fully understand your setup but it works! I pulled my hair the whole night trying to find a solution. You're truly a lifesaver! Thanks a lot!