How to Declare and Define an Decimal data type variable in F# ?
// AbundantCode F# Tutorials and Code snippets open System [<EntryPoint>] let main argv = //How to Declare and Define an Decimal data type variable in F# ? let decimalDataTypeVariable1 = 10m let decimalDataTypeVariable2 = 10M Console.WriteLine(decimalDataTypeVariable1) Console.WriteLine(decimalDataTypeVariable2) let retval = Console.ReadLine() 0 // return an integer exit code
Leave a Reply