User contributions for David Ashton

Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

1 April 2023

31 March 2023

15 March 2023

25 February 2023

20 February 2023

  • 12:3412:34, 20 February 2023 diff hist +41‎ Main Page ‎No edit summary Tag: Visual edit
  • 12:3412:34, 20 February 2023 diff hist +1,631‎ N Receipt amount and discount rules ‎ Created page with "This is how the register calculates amounts: There are two functions, applyAmountRule(amount) and applyDiscountAmountRule(discountAmount). The amount rule function does this: Convert the amount to pennies by multiplying by 100.0 If the fractional part is less than 0.001 then take the floor amount else take the ceiling amount. This amount is multiplied by 0.01 and returned. The discount amount rule does this: Convert the amount to pennies by multiplying by 100.0..." Tag: Visual edit

6 February 2023

3 February 2023

20 January 2023

9 January 2023

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)