How can I get Workflow's token calculator to take a value and count how many digits are in that value, then create another number from the result? Examples:
- take value of 998050 and get a result of six digits, then take the number 1 and add six zeros to create the new token value of 1,000,000.
- take value of 98050 and get a result of five digits, then take the number 1 and add five zeros to create the new token value of 100,000
- take value of 8050 and get a result of four digits, then take the number 1 and add four zeros to create the new token value of 10,000
I can't seem to figure out how this CountNumber formula works or even if I'm on the right track here.
Thx, Connie Prendergast, Flagstaff County, AB Canada