- mem_avail == 0 ? 0 : (float)mem_used/(mem_avail*1024)*100,
- mem_avail*1024 - mem_used,
- mem_avail == 0 ? 0 : (float)(mem_avail*1024-mem_used)/(mem_avail*1024)*100
+ mem_avail == 0 ? 0.0f : (float)mem_used/(mem_avail*1024)*100,
+ mem_left,
+ mem_avail == 0 ? 0.0f : (float)mem_left/(mem_avail*1024)*100