@nuskin/react-mysite-elements 1.6.0-comx-4563.1 → 1.6.0-comx-2229.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,18 +51,6 @@ export declare function formatMoney(value: number, currencyCode?: string, minimu
|
|
|
51
51
|
* @returns Compact currency string with code prefix, e.g. "USD 2.6k"
|
|
52
52
|
*/
|
|
53
53
|
export declare function formatCompactRevenue(value: number, currencyCode?: string): string;
|
|
54
|
-
/**
|
|
55
|
-
* Adds en-US thousands separators to the first number in an already formatted value,
|
|
56
|
-
* leaving every other character (currency symbol, currency code, spaces, signs) exactly
|
|
57
|
-
* as provided. Matches the en-US grouping convention used by `formatMoney`.
|
|
58
|
-
* Examples:
|
|
59
|
-
* - addGroupingSeparators('$5208.12') -> '$5,208.12'
|
|
60
|
-
* - addGroupingSeparators('USD 1234567') -> 'USD 1,234,567'
|
|
61
|
-
* - addGroupingSeparators('$5,208.12') -> '$5,208.12'
|
|
62
|
-
* @param value - A preformatted currency/number string
|
|
63
|
-
* @returns The same string with grouping separators applied to the integer digits
|
|
64
|
-
*/
|
|
65
|
-
export declare function addGroupingSeparators(value: string): string;
|
|
66
54
|
export declare function capitalizeFirstLetter(text: string): string;
|
|
67
55
|
/**
|
|
68
56
|
* Gets the numeric value from a SignupDataPoint based on the selected signup view.
|