May 29, 2003 #1 ncopeland IS-IT--Management Joined Mar 12, 2002 Messages 88 Location 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 Joined Feb 12, 2002 Messages 1,048 Location 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 Joined Mar 23, 2002 Messages 20,180 Location 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 Joined Mar 23, 2002 Messages 20,180 Location US Much nicer, Lisa. -k Upvote 0 Downvote