Например так - sprintf(str, %.1f",armcurrent);