Using integer trick ... There is a little trick to correctly print the float value using sprintf. sprintf(str, "String value: %d.%02d", (int)f, ( ...
確定! 回上一頁