[style] Fixing TSLint violations

This commit is contained in:
Steven Evans
2018-07-18 12:49:46 -04:00
parent b5e8d61ad6
commit 1412b01be5
4 changed files with 176 additions and 139 deletions
+1
View File
@@ -4,5 +4,6 @@
*/
export function roundToTwo(decimal: number) {
const leftShift: number = Math.round(parseFloat(`${decimal}e+2`));
return +(`${leftShift}e-2`);
}