...
Variable | Description |
---|---|
Unit rate threshold (p): | checks that the average pence per unit is less than the figure added here. In this example, the average ppu would need to be below 10.5 for it to pass. |
Bill Entry screen
Failure prompt
...
Average unit rate exceeds threshold: FAILED - The name of the Validator
'threshold=10.50' - The threshold added to the Validator
'ppuunit=10.89899 - The figure entered on the bill, ie 10.89899p ???????????? I entered 10.79??? is it checking something else too ? Average of what?