共用方式為


InteractiveSession.FloatingPointFormat 屬性 (F#)

取得或設定互動式工作階段之輸出中所使用的浮點數格式。

**命名空間/模組路徑:**Microsoft.FSharp.Compiler.Interactive

**組件:**FSharp.Compiler.Interactive.Settings (在 FSharp.Compiler.Interactive.Settings.dll 中)

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

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

參數

  • floatingPointFormat
    型別:string

    在 F# 互動式工作階段用於浮點輸出的格式化程式碼。

備註

可能的格式化程式碼在 Core.Printf 模組 (F#) 中有說明。 預設值是 g10。

平台

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

版本資訊

F# 執行階段

支援版本:2.0、4.0

Silverlight

支援版本:2、3

請參閱

參考

Interactive.InteractiveSession 類別 (F#)

Microsoft.FSharp.Compiler.Interactive 命名空間 (F#)