I was refactoring some old code and came across the following line of code to convert bytes to GB.
decimal GB = KB / 1024 / 1024 / 1024;
Is
Personally I'd write it like this: decimal GB = KB / (1024 * 1024); but there's really no need to refactor the code as written.
decimal GB = KB / (1024 * 1024);