title: How can I split a float (1,2) into 1 and 2 integers?
body: <p>I'm learning F# and have an assignment where I have to treat a float as a coordinate. For example float 2.3 would be treated as a coordinate (2.3) where x is 2 and y is 3. </p>
  
  <p>How can I split the float to calculate with it?</p>
  
  <p>I am trying to make a function to calculate the length of a vector:
  let lenOfVec (1.2, 2.3) and using pythagoras' method to get the length of hypotenuse.</p>
  
  <p>But I am already stuck at splitting up the float.</p>
  
  <p>Hope some can help!</p>