spreadsheet
typeScript/javascript spreadsheet parser, with formulas.
git clone https://git.vogt.world/spreadsheet.git
Log | Files | README.md
← All files
name: dist/Formulas/Convert.d.ts
-rw-r--r--
1103
 1/**
 2 * Converts a number to a Date.
 3 * @param value - Value to convert. If the input is a number, will convert to a date. If value is non-numeric, will
 4 * return value unchanged.
 5 * @returns {any}
 6 * @constructor
 7 */
 8declare let TO_DATE: (value: any) => any;
 9/**
10 * Converts a number to a Dollar value.
11 * @param value - Value to convert. If the input is a number, will return as a dollar value. If value is non-numeric,
12 * will return value unchanged.
13 * @returns {any}
14 * @constructor
15 */
16declare let TO_DOLLARS: (value: any) => any;
17/**
18 * Converts a number to a percent value where 1 = 100 percent.
19 * @param value - Value to convert. If the input is a number, will return as a percent value. If value is non-numeric,
20 * will return value unchanged.
21 * @returns {any}
22 * @constructor
23 */
24declare let TO_PERCENT: (value: any) => any;
25/**
26 * Converts a number to a text value
27 * @param value - Value to convert. If the input is a text, will return as a text value.
28 * @returns {any}
29 * @constructor
30 */
31declare let TO_TEXT: (value: any) => string;
32export { TO_DATE, TO_DOLLARS, TO_PERCENT, TO_TEXT };