AnsweredAssumed Answered

Survey123 Custom Print Template - Formatting decimal places

Question asked by tschlake on Nov 2, 2018
Latest reply on Nov 6, 2018 by tschlake

Is there a way to format the Survey123 Custom Print Template to round decimal places to two decimal places? My survey form is currently collecting values by using round(${TotalPayment},2), but when I go to use my custom print template that I created it doesn't keep this formatting. It seems to drop a 0. For my attached example my total payment is $65.60, but right now when I generate my custom print template it puts $65.6, dropping that 0 at the end. 

 

It would be nice that for my dollar figures in my custom print template, would keep the two decimal places that I am collecting in my form or have a way to format it in the custom print template.  Thank you for your help.  

Attachments

Outcomes