次の方法で共有


LanguagePrimitives.FloatWithMeasure<'Measure> 関数

単位付きの浮動小数点値を作成します。

名前空間/モジュール パス: Microsoft.FSharp.Core.LanguagePrimitives

アセンブリ: FSharp.Core (FSharp.Core.dll 内)

// Signature:
FloatWithMeasure : float -> float<'u>

// Usage:
FloatWithMeasure value

パラメーター

  • value
    型: float

    入力値。

戻り値

単位付きの浮動小数点値。

プラットフォーム

Windows 8、Windows 7、Windows Server 2012 で Windows Server 2008 R2

バージョン情報

F# コア ライブラリのバージョン

サポート: ポータブル 2.0、4.0

参照

関連項目

Core.LanguagePrimitives モジュール (F#)

Microsoft.FSharp.Core 名前空間 (F#)