There is no implicit conversion so you have to use toDouble explicitly, or maybe better: type y as num which is the superclass of double and int.
確定! 回上一頁