$level = pow (log10 ($post[posts]), 3); $ep = floor (100 * ($level - floor ($level))); $showlevel = floor ($level + 1);