If you need it as a float, just add var f = parseFloat( result ) in the end. If the decimal part equals zero, "0.0" will be returned.
確定! 回上一頁