4

我只是想将 char 更改为 int 并返回 int。

4

1 回答 1

1

您可能想要Char.ord基础库页面)。

例如,Char.ord #"a"

于 2012-11-25T16:50:44.187 回答