Hi,
The field SumInsured is decimal and the following expression works when the field have a value > 0: {InsuranceUpdate.SumInsured.ToString("#,###.00")}
However when the value is 0, the field became null (is suppose that is null because all the text surrounding disappear).
Expression ToString("#,###.00") seems not work for 0 value
-
- Posts: 7424
- Joined: Tue Mar 20, 2018 5:34 am
Re: Expression ToString("#,###.00") seems not work for 0 value
Hello,
Try to use the following expression for the correct result:
{InsuranceUpdate.SumInsured.ToString("#,##0.00")}
Thank you.
Try to use the following expression for the correct result:
{InsuranceUpdate.SumInsured.ToString("#,##0.00")}
Thank you.