@ztimson/utils 0.28.12 → 0.28.14

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.
package/dist/math.d.ts CHANGED
@@ -11,6 +11,7 @@
11
11
  * @return {string} Fraction with remainder
12
12
  */
13
13
  export declare function dec2Frac(num: number, maxDen?: number): string;
14
+ export declare function dec2Hex(num: number): string;
14
15
  /**
15
16
  * Convert fraction to decimal number
16
17
  *
@@ -22,7 +23,7 @@ export declare function dec2Frac(num: number, maxDen?: number): string;
22
23
  * @param {string} frac Fraction to convert
23
24
  * @return {number} Faction as a decimal
24
25
  */
25
- export declare function fracToDec(frac: string): number;
26
+ export declare function frac2Dec(frac: string): number;
26
27
  /**
27
28
  * Add a suffix to a number:
28
29
  * 1 = 1st
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztimson/utils",
3
- "version": "0.28.12",
3
+ "version": "0.28.14",
4
4
  "description": "Utility library",
5
5
  "author": "Zak Timson",
6
6
  "license": "MIT",