formatQuantity
function formatQuantity(feature, amount): string;Defined in: src/catalog.ts:928
Format a numeric amount with the feature’s unit, e.g. "1,000 calls".
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
feature |
NormalizedFeature |
amount |
number |
Returns
Section titled “Returns”string