tables.formatifnumber.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/tables > formatIfNumber
formatIfNumber() function
Returns a formatted string for a number, otherwise returns the original value
Signature:
export declare function formatIfNumber(value: Value): string | Value;
Parameters
| Parameter | Type | Description |
|---|---|---|
| value | Value |
Returns:
string | Value