Jul 30, 2010 #1 swetham Programmer May 5, 2010 257 DE How to Write a formula to round of the value to 3 0r 2 decimals based on a condition?
Jul 30, 2010 Thread starter #2 swetham Programmer May 5, 2010 257 DE Sorry to post it, I got it Upvote 0 Downvote
Jul 30, 2010 1 #3 Madawc Programmer Sep 5, 2002 7,628 GB Do you mean, either 3 or 2? Then it would be something like Code: if @condition then Round({your.value}, 3) else Round({your.value}, 2) Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP Upvote 0 Downvote
Do you mean, either 3 or 2? Then it would be something like Code: if @condition then Round({your.value}, 3) else Round({your.value}, 2) Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP
Jul 30, 2010 Thread starter #4 swetham Programmer May 5, 2010 257 DE Thank you for the reply, It worked. Upvote 0 Downvote