Compartilhar via


InteractiveSession.FloatingPointFormat Property (F#)

Gets or sets the floating point format used in the output of the interactive session.

Namespace/Module Path: Microsoft.FSharp.Compiler.Interactive

Assembly: FSharp.Compiler.Interactive.Settings (in FSharp.Compiler.Interactive.Settings.dll)

// Signatures:
member this.FloatingPointFormat :  string
member this.FloatingPointFormat : string with set :  string

// Usage:
interactiveSession.FloatingPointFormat
interactiveSession.FloatingPointFormat <- floatingPointFormat

Parameters

  • floatingPointFormat
    Type: string

    A format code to use for floating point output in the F# Interactive Session.

Remarks

The possible format codes are described in Core.Printf Module (F#). The default value is g10.

Platforms

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Version Information

F# Runtime

Supported in: 2.0, 4.0

Silverlight

Supported in: 2, 3

See Also

Reference

Interactive.InteractiveSession Class (F#)

Microsoft.FSharp.Compiler.Interactive Namespace (F#)