diff options
Diffstat (limited to 'node_modules/@sapphire/utilities/dist/lib/roundNumber.d.ts')
-rw-r--r-- | node_modules/@sapphire/utilities/dist/lib/roundNumber.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/@sapphire/utilities/dist/lib/roundNumber.d.ts b/node_modules/@sapphire/utilities/dist/lib/roundNumber.d.ts new file mode 100644 index 0000000..36443f4 --- /dev/null +++ b/node_modules/@sapphire/utilities/dist/lib/roundNumber.d.ts @@ -0,0 +1,8 @@ +/** + * Properly rounds up or down a number. + * Also supports strings using an exponent to indicate large or small numbers. + * @param num The number to round off + * @param scale The amount of decimals to retain + */ +export declare function roundNumber(num: number | string, scale?: number): number; +//# sourceMappingURL=roundNumber.d.ts.map
\ No newline at end of file |