May 29, 2003 #1 ncopeland IS-IT--Management Mar 12, 2002 88 GB Is there a function within crystal that will round a number up if it is over .00
May 29, 2003 1 #2 lyanch Programmer Feb 12, 2002 1,048 US There are several ways to do this but not a specific function.. If the number will always be positive: -int(-{table.field}) will always round up.. Lisa Upvote 0 Downvote
There are several ways to do this but not a specific function.. If the number will always be positive: -int(-{table.field}) will always round up.. Lisa
May 29, 2003 #3 synapsevampire Programmer Mar 23, 2002 20,180 US You could write a formula like: if {table.field} - int({table.field}) > 0 then {table.field}+1 else {table.field} -k Upvote 0 Downvote
You could write a formula like: if {table.field} - int({table.field}) > 0 then {table.field}+1 else {table.field} -k
May 29, 2003 #4 synapsevampire Programmer Mar 23, 2002 20,180 US Much nicer, Lisa. -k Upvote 0 Downvote