How to Declare and Define an Integer Type in F# ?


This content was proof-read by Grammarly. You can Try Grammary for FREE

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

// AbundantCode F# Tutorials and Code snippets
open System
[<EntryPoint>]
let main argv = 
    let integerVal1 = 10 
    let integerVal2 = 10l
    Console.WriteLine(integerVal1)
    Console.WriteLine(integerVal2)
    let retval = Console.ReadLine()
    0 // return an integer exit code
Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.

Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.

%d bloggers like this: