This commit uses a custom atoi function that converts 12.4 to 124 so we can do integer math instead of using doubles.