SwiftUI sin func

Has anyone used the SwiftUI sin func for a value that's a multiple of pi. When I try I get a very strange number and I believe it should be 0.

Are you specifying the angle in radians (correct) or degrees (not correct)? If that’s not the problem, can you post a small sample of code that produces the unexpected result?

SwiftUI sin func
 
 
Q