G
Guest
I am building a form in which I need to make calculations. I need to ask a
calculated field with two decimal places to create
(1) a new number which is rounded UP to the nearest whole number if it is
over a pre-set whole number (even by .01) and
(2) a new number which is rounded DOWN to nearest whole number if it is less
than a pre-set whole number (even by .01).
Right now, if I "set value" to the new fields and change the demimals to 0,
the program chooses on its own whether to round up or down to whichever whole
number it is closer.
I need to round up, even if is .01 over, in one case,
and to round down, even if is over by .99 in another.
For instance:
Field 1: Round 67.01-67.99 to 68
Field 2: Round 67.01-67.99 to 67
Any ideas?
Thanks,
Kim Crenshaw
calculated field with two decimal places to create
(1) a new number which is rounded UP to the nearest whole number if it is
over a pre-set whole number (even by .01) and
(2) a new number which is rounded DOWN to nearest whole number if it is less
than a pre-set whole number (even by .01).
Right now, if I "set value" to the new fields and change the demimals to 0,
the program chooses on its own whether to round up or down to whichever whole
number it is closer.
I need to round up, even if is .01 over, in one case,
and to round down, even if is over by .99 in another.
For instance:
Field 1: Round 67.01-67.99 to 68
Field 2: Round 67.01-67.99 to 67
Any ideas?
Thanks,
Kim Crenshaw