cleanup/clarify asPercent code
cleanup/clarify asPercent code

raintank/metrictank,raintank/metrictank,replay/metrictank,replay/metrictank,raintank/metrictank,replay/metrictank,raintank/metrictank,replay/metrictank,raintank/raintank-metric,raintank/raintank-metric,raintank/raintank-metric