Percent
Factories and application for Percent.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Percent.type
Members list
Value members
Concrete methods
The margin a price carries - (price - cost) / price - as a percentage figure rounded to scale places by mode. Undefined at zero price.
The margin a price carries - (price - cost) / price - as a percentage figure rounded to scale places by mode. Undefined at zero price.
Attributes
The markup a price represents over a cost - (price - cost) / cost - as a percentage figure rounded to scale places by mode (the quotient need not terminate, so the boundary is named). The complement of margin: the two are named apart because confusing them is a real pricing bug class. Undefined at zero cost.
The markup a price represents over a cost - (price - cost) / cost - as a percentage figure rounded to scale places by mode (the quotient need not terminate, so the boundary is named). The complement of margin: the two are named apart because confusing them is a real pricing bug class. Undefined at zero cost.
Attributes
Givens
Givens
Extensions
Extensions
The percentage figure, so Percent(16).value is 16, in plain form at every magnitude.
The percentage figure, so Percent(16).value is 16, in plain form at every magnitude.