Does it work to fetch non-integer parts? Shouldn't Math.round or similar be used here?