Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
F#に関数があり、値を取得してをとしてint返します。intstring
int
string
let inttostring (x:int):string = ""+x
ToStringを動作させることができません。どんな助けでもいただければ幸いです。
空の文字列は、タイプの文字列""と互換性がありません。使用できますxint
""
x
let int2String x = sprintf "%i" x
また
let int2String (x: int) = string x