Feature Request - Leading Zeroes on "Value As Text"

Hi Captains,

This is nothing mission critical but a real nice to have.

I’m using the “Value As Text” node to make some digital countdown clocks, and would find it super useful if there was a “Leading Zeroes” option to make the string read “04” instead of “4” as my countdown clock looks like… odd at “8:4” instead of “8:04”

Something similar to the “Num Decimal Places” but Num Leading Zeroes"

Hope everyone is having a fantastic week!

Marchie

I feel like this should be possible somehow… could you send over a dfx? I’ll see if I can whip up some dark magic and make it work.

– Ryan

Here’s the .dfx, My workaround at the moment is to use a “Select Child” and a “Condition Modifier” to detect when the value is less than 10, then do a “Combine Text Strings” with a Zero and run this into the 2nd Text object in the select child.

it’s a bit clunky but works.

Break 10 Min Countdown.dfx (83.3 KB)