code_junkie

Converting float to int in F#

Nov 13th, 2011
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. let round x = int System.Math.Round(x)
  2.  
  3. 2.4m - 2.0m == 0.4m
  4. 2.4 - 2.0 != 0.4
Add Comment
Please, Sign In to add comment