Hi,
I have a formula with this underlying code:
if isnull({sp_not_expired.QTY}) then
formula = ""
else
formula = CStr({sp_not_expired.QTY})
end if
where sp_not_expired is a stored procedure and QTY a numeric field, which I don't want to display if it's null. Now when I display the results in CR it shows the number with 2 decimals. How can I take the decimals out?
Thank you
I have a formula with this underlying code:
if isnull({sp_not_expired.QTY}) then
formula = ""
else
formula = CStr({sp_not_expired.QTY})
end if
where sp_not_expired is a stored procedure and QTY a numeric field, which I don't want to display if it's null. Now when I display the results in CR it shows the number with 2 decimals. How can I take the decimals out?
Thank you