What is the issue? The raw ratio should be: 24 * 10^6 --------- c And the code is putting in: 24 * 10^5 --------- c * 10^-1 which is the same thing.