Leading "0" is dropping in transformation
I am transforming a string to a number (for an import in the next step of my flow), and have noticed that any numbers that begin with a "0" the transformation is dropping the "0".
For example: 0987654321 will become 987654321 after the transformation
Is there a simple handlebar to maintain the original value to pass downstream in the flow?
0
Comments
Dave Guderian leave it as a string. JSON does not support leading zeros for number data types. https://stackoverflow.com/questions/46345894/numbers-cannot-begin-with-a-zero-in-json
Thanks Tyler as always! I wasnt aware of that limitation!
Please sign in to leave a comment.