discount: Discount of an item

Description Usage Arguments Value

Description

discount returns the remaining fraction a value after it is discounted.

Usage

1
2
3
4
discount(obj, ...)

## S4 method for signature 'single_item'
discount(obj, ...)

Arguments

obj

An object.

item

An item to be added.

Value

The remaining fraction a value in decimal after the single item is discounted.


Samantha-Lui/EZRecords documentation built on May 5, 2019, 4:46 p.m.