Double.NaN フィールド
アセンブリ: mscorlib (mscorlib.dll 内)
構文
使用例
NaN の使用方法については、次のコード例を参照してください。
Dim zero As Double = 0 ' This condition will return false. If (0 / zero) = Double.NaN Then Console.WriteLine("0 / 0 can be tested with Double.NaN.") Else Console.WriteLine("0 / 0 cannot be tested with Double.NaN; use Double.IsNan() instead.") End If
Double zero = 0; // This condition will return false. if ((0 / zero) == Double.NaN) { Console.WriteLine("0 / 0 can be tested with Double.NaN."); } else { Console.WriteLine("0 / 0 cannot be tested with Double.NaN; use Double.IsNan() instead."); }
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
Weblioに収録されているすべての辞書からDouble.NaN フィールドを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からDouble.NaN フィールドを検索
- Double.NaN フィールドのページへのリンク