Function: telecomQuantity()
telecomQuantity(
source):TelecomQuantity
Wrap a verbatim Quantity Dispensed value as a TelecomQuantity, applying the implied 3-place decimal string-wise when the value is all digits.
Parameters
source
string
The quantity exactly as it appeared on the wire.
Returns
A frozen TelecomQuantity.
Example
telecomQuantity("30000").impliedDecimal; // "30.000"