fork download
  1. let Deg2Rad (a:double) = 3.14 * a / (180.0)
  2.  
  3. printfn "%G" Deg2Rad 90
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/4fMjUM/prog.fs(3,9): error FS0001: Type mismatch. Expecting a
    'a -> 'b -> 'c    
but given a
    'a -> unit    
The type ''a -> 'b' does not match the type 'unit'

/home/4fMjUM/prog.fs(3,14): error FS0001: The type '(double -> float)' is not compatible with any of the types float,float32,decimal, arising from the use of a printf-style format string
stdout
Standard output is empty