2013-01-11 29 views
1

IronPython中我可以這樣做:IronPython:double關鍵字未被識別?

Console.WriteLine(int.MaxValue) 

其中INT不是一個變量,而是System.Int32。我回去:

Max of int: 2137483647 

然而,如果我嘗試類似的東西爲(System.Double),我得到:

NameError: name 'double' is not defined. 

與之相似的焦炭(System.Char)。怎麼來的?

回答