Currency-class: An S4 class to represent currency values.

Description Slots

Description

Currency is a subclass of "numeric", and is intended to perform currency conversions, store original unconverted values and the original currency unit, and provide formatted output in the form of strings like "$33 thousand" instead of "33000".

Slots

type

The original currency unit before conversion.

original

The original currency value before conversion.


NumerousHats/currency documentation built on June 13, 2019, 5:41 p.m.