mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
[style] Fixing TSLint violations
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
*/
|
||||
export function roundToTwo(decimal: number) {
|
||||
const leftShift: number = Math.round(parseFloat(`${decimal}e+2`));
|
||||
|
||||
return +(`${leftShift}e-2`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user