1 Reply Latest reply on Mar 31, 2011 9:16 AM by UbuntuPenguin

    Problem with negative values


      Hi all,


      I have a problem with a budgeting application of mine. It takes the an input, Budget, and subtracts the TotalCost from it, to give a value of Money left over. It then subtracts Budget from TotalCost to give a value of money needed. The problem I have is that I do not want either Money left over or Money needed to be a negative, instead I want them to display "0" if they are negative. Also I need them to be formatted to 2 d.p.


      Thank you in advance for your help!!