Single.MinValue フィールド

Single の最小有効値を表します。このフィールドは定数です。

Public Const MinValue As Single
[C#]
public const float MinValue;
[C++]
public: const float MinValue;
[JScript]
public var MinValue : float;

解説

この定数の値は -3.402823e38 です。

使用例

[Visual Basic, C#, C++] MinValue 定数のサンプルを次に示します。

 
If S < Single.MinValue Then
    Console.WriteLine("Your number is smaller than a Single.")
End If

[C#] 
if (s < Single.MinValue)
{
    Console.WriteLine("Your number is smaller than a Single.");
}

[C++] 
if (s < Single::MinValue) {
   Console::WriteLine(S"Your number is smaller than a Single.");
}

[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン 言語のフィルタ をクリックします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET, Common Language Infrastructure (CLI) Standard

参照

Single 構造体 | Single メンバ | System 名前空間 | MaxValue