Cast unit size value for formatByteDown to float to avoid overflow

Signed-off-by: Jeff Chan <jefftchan@gmail.com>