Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
We've encountered an issue exporting this macro. Please try exporting this page again later.
Excerpt
Code Block
number surcharge = 2.50;
number rebate = 1.00;
number discount = 10;
number total = 10;

total = total + surcharge;
total = total - rebate;
total = total - (total * (discount/100));

return total;