formatMetricValue
Stock Screening Platform - Frontend API v0.1.0
Stock Screening Platform - Frontend API / utils/comparison / formatMetricValue
Function: formatMetricValue()
formatMetricValue(
value,format):string
Defined in: src/utils/comparison.ts:74
Format number based on format type
Parameters
value
number | null
format
"number" | "currency" | "percent" | "ratio"
Returns
string