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.
double から末尾のゼロを削除する関数は何ですか?
var double = 3.0 var double2 = 3.10 println(func(double)) // 3 println(func(double2)) // 3.1