看板 b97902HW 關於我們 聯絡資訊
※ 引述《anfranion (安弗尼恩)》之銘言: : 2.595925e+85 : 這個啊,是windows 和 linux的差異嗎? : 因為windows 印出來是e+085唷 e, E The double argument is rounded and converted in the style [-]d.ddde+-dd where there is one digit before the decimal-point character and the number of digits after it is equal to the pre- cision; if the precision is missing, it is taken as 6; if the precision is zero, no decimal-point character appears. An E conversion uses the letter E (rather than e) to introduce the exponent. The exponent always contains at least two digits; if the value is zero, the exponent is 00. 反正都是要傳到工作站上改 然後統一使用%15e 所以大家就放心的使用吧 C2008 TA -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.45
xflash96:character.... 11/15 01:01