title: How can I cast an @Binding in Swift
body: <p>In swift I can cast an Int to a Double with Int(doubleVariable).</p>
  
  <p>But how can I cast a Binding &lt; Double >  to a Binding &lt; Int >  ?</p>
  
  <p>Then I could pass an @Binding var intVar: Int to a function requiring a Double binding.</p>
  
  <p>(The context of this is that I have an Int which I want to pass to a Slider in SwiftUI.)</p>