Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to roll up, even 1 cent

Icobbne
Level 3
Level 3

Hi,

I want to roll up even 1 cent in the box that I marked below (in red rectangle). At the moment as default behaviour it rolling up or down which ever close. If the result amount is $137.04 it should be rolled up $138. How can I do that? I also uploaded the file below link.

Regards

http://teomanefendi.fileave.com/adobe/schoolfeeB.pdf

rollup.jpg


1 Accepted Solution
BarlaeDC
Correct answer by
Level 5
Level 5

Hi,

On the text field you have the following script

if (debitamount ne 0) then

     $ = debitamount / termnumber

else

     $ = 0

endif

if you change that to this does that not do what you want

if (debitamount ne 0) then

     $ = Ceil (debitamount / termnumber)

else

     $ = 0

endif

Hope this helps.

Malcolm

View solution in original post

2 Replies
BarlaeDC
Correct answer by
Level 5
Level 5

Hi,

On the text field you have the following script

if (debitamount ne 0) then

     $ = debitamount / termnumber

else

     $ = 0

endif

if you change that to this does that not do what you want

if (debitamount ne 0) then

     $ = Ceil (debitamount / termnumber)

else

     $ = 0

endif

Hope this helps.

Malcolm