One possible solution, does not account for negative numbers
if {totAmount} >1 then
if {totAmount}/truncate({totAmount}) = 1 then totext({totAmount},0)
else totext({totAmount})
else
totext({totAmount})
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.