1. One of the ways is to have a workflow variable and assign it to the lookup value. And then comparing it to 0.
2. Other way is to create a calculated text field in the list and use it instead of the number field in the workflow lookup.
Calculated text field =IF([ColumnName]=0,"-",TEXT([ColumnName],0))
=TEXT([Column],<format>) is used to avoid unwanted zeros after the decimal point. Without this, the final value for the calculated text field would look something like 123.000000000
<format> is a number format in text format. e.g. 0; 0.0; 0.00; etc.
No comments:
Post a Comment