I need to remove the .0 decimals from my report. The measure 1 and measure 2 string values can be for example 98.0 and 98.6. If the value is .0 I need it removed; however, if it is 98.6 I need it to show the whole value. What I am looking for is either 98 or 98.6. Hope that makes sense and thanks so much for your help!
if isNull ({hsm11_flowsheet;1.measure2}) then "<b>"+({hsm11_flowsheet;1.attribute}) + "</b>" + " " + {hsm11_flowsheet;1.measure1} else
"<b>" + ({hsm11_flowsheet;1.attribute}) + "</b>" + " " + {hsm11_flowsheet;1.measure1} + "/" +{hsm11_flowsheet;1.measure2}
Jan
if isNull ({hsm11_flowsheet;1.measure2}) then "<b>"+({hsm11_flowsheet;1.attribute}) + "</b>" + " " + {hsm11_flowsheet;1.measure1} else
"<b>" + ({hsm11_flowsheet;1.attribute}) + "</b>" + " " + {hsm11_flowsheet;1.measure1} + "/" +{hsm11_flowsheet;1.measure2}
Jan