Home > Enterprise >  Angle to Double or CGFloat or String - SwiftUI
Angle to Double or CGFloat or String - SwiftUI

Time:03-31

In swift Angle(degrees : 20.0) , So now I want to convert or store that 20.0 in a Double or String or CGFloat .

What is the process?

CodePudding user response:

You can use degrees property (which is of type Double) of an instance of an Angle type. See the documentation.

  • Related