# Double.PositiveInfinityDouble.PositiveInfinityDouble.PositiveInfinityDouble.PositiveInfinity Field

## Definición

Representa infinito positivo.Represents positive infinity. Este campo es constante.This field is constant.

``public: double PositiveInfinity = Infinity;``
``public const double PositiveInfinity = Infinity;``
``val mutable PositiveInfinity : double``
``Public Const PositiveInfinity As Double  = Infinity``

## Ejemplos

En el ejemplo de código siguiente se muestra el uso de PositiveInfinity:The following code example illustrates the use of PositiveInfinity:

``````// This will equal Infinity.
Console::WriteLine( "PositiveInfinity plus 10.0 equals {0}.", (Double::PositiveInfinity + 10.0) );
``````
``````// This will equal Infinity.
Console.WriteLine("PositiveInfinity plus 10.0 equals {0}.", (Double.PositiveInfinity + 10.0).ToString());
``````
``````' This will equal Infinity.
Console.WriteLine("PositiveInfinity plus 10.0 equals " + (Double.PositiveInfinity + 10).ToString() + ".")
``````

## Comentarios

El valor de esta constante es el resultado de dividir un número positivo por cero.The value of this constant is the result of dividing a positive number by zero.

Esta constante se devuelve cuando el resultado de una operación es mayor que MaxValue.This constant is returned when the result of an operation is greater than MaxValue.

Use IsPositiveInfinity para determinar si un valor se evalúa como infinito positivo.Use IsPositiveInfinity to determine whether a value evaluates to positive infinity.