1 可能重複: Format numbers in javascript減少雜亂的數量在JQuery中 我有數量2.3455555555555555我想使用jQuery得到它只有2.34。我不知道如何解決它。 來源 2012-10-22 Sealongmaly
5 (2.3455555555555555).toFixed(2); 來源 2012-10-22 03:45:10 coolguy +0 @elclanrs thnx爲大括號 – coolguy +0 現在感謝它運作良好。 – Sealongmaly
@elclanrs thnx爲大括號 – coolguy
現在感謝它運作良好。 – Sealongmaly