How to Declare and Define an Float data type variable in F# ?

How to Declare and Define an Float data type variable in F# ?

// AbundantCode F# Tutorials and Code snippets
open System
[<EntryPoint>]
let main argv = 
    //How to Declare and Define an Float data type variable in F# ?
    let floatdatatypevariable = 10.5f
    Console.WriteLine(floatdatatypevariable)
    let retval = Console.ReadLine()
    0 // return an integer exit code
Tags :

Leave Your Comment

Liked this content?. Please spread the word :)