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.
Text("Värde \(Double(calc2, specifier: "%.2f").rounded())")
//エラー
double型を使った値を変換しているのSliderですが、書式指定ができませんか? エラーが発生し、xcode からシグナリング (?) を使用するように指示されます。こちらも入れてみましたInt。
Slider
Int
ここで正しい動きは何ですか?