Question
How can the Currency Symbol be removed from a value with the AmountOfMoney datatype?
Answer
This can be accomplished with an Advanced Script Rule on the field containing the Currency Symbol. A sample of the script that can be used is below:
var amountField = Context.GetField("Total");
amountField.Value = new AmountOfMoney (amountField.Value.Amount, "");
Comments
0 comments
Please sign in to leave a comment.