I have a need to generate documents and format the Currency Values.
I see in the format, I can provide culture...
/* QD.LP is a variable from the passed in JSON */
{{QD.LP}:format(C2, en-US)}
Shows the value in USD ($139.45)
And
{{QD.LP}:format(C2, en-GB)}
Shows the value is GBP (£139.45)
What I want to do is pass a variable to set the culture....
/* QD.LP is a variable from the passed in JSON
CultureValue is a variable from the passed in JSON */
{{QD.LP}:format(C2, {{CultureValue}})}
I tried this, but I get an error when trying to run the Process.
Input string was not in a correct format.
How do I do this? Or is there any suggestions you may have to accomplish this?