statement in some queries where I need to calculate the percentage. For example
I expect the percentage to have
SELECT path, type, ROUND((blocks_available * blocks_size * 10e-10), 2) AS free_gb, ROUND ((blocks_available * 1.0 / blocks * 1.0) * 100, 2) AS free_perc FROM mounts WHERE path = '/';
after the decimal point, but instead I get values like
. Can anyone tell why this is or how I can fix this? These long numbers are hard to read for percentage values.