From bb511abc03bb66848947e37a999502b813c77269 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 23 Jul 2020 23:24:17 -0700 Subject: goodbye old uwufier :cry: --- src/utils/simpleFormat.ts | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/utils/simpleFormat.ts (limited to 'src/utils/simpleFormat.ts') diff --git a/src/utils/simpleFormat.ts b/src/utils/simpleFormat.ts deleted file mode 100644 index 4564778..0000000 --- a/src/utils/simpleFormat.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** -* @name simpleFormat -* @param {number|string} value Value to format -* @returns {number} A number in fixed-point notation up to 2 decimal points -*/ -module.exports = (value: string) => { - const result = parseFloat(parseFloat(value).toFixed(2)); - return result; -}; \ No newline at end of file -- cgit v1.2.3