Double

Double struct

Contains methods to work with the double-precision floating-point number.

class Double

Methods

MethodDescription
static double Parse(const String&)Converts the specified string containing the string representation of a number to the equivalent double-precision floating-point value.
static double Parse(const String&, const SharedPtr<IFormatProvider>&)Converts the specified string containing the string representation of a number to the equivalent double-precision floating-point value using the provided formatting information.
static double Parse(const String&, const SharedPtr<Globalization::CultureInfo>&)
static double Parse(const String&, const SharedPtr<Globalization::NumberFormatInfo>&)
static double Parse(const String&, std::nullptr_t)
static double Parse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&)Converts the specified string containing the string representation of a number to the equivalent double-precision floating-point value using the provided formatting information and number style.
static double Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&)
static double Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&)
static double Parse(const String&, Globalization::NumberStyles, std::nullptr_t)
static bool TryParse(const String&, double&)Converts the specified string containing the string representation of a number to the equivalent double-precision floating-point value.
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&, double&)Converts the specified string containing the string representation of a number to the equivalent double-precision floating-point value using the provided formatting information and number style.
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&, double&)
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&, double&)
static bool TryParse(const String&, Globalization::NumberStyles, std::nullptr_t, double&)

Fields

FieldDescription
static constexpr EpsilonSmallest positive value that is greater than zero.
static constexpr MaxValueLargest possible value.
static constexpr MinValueSmallest possible value.
static constexpr NaNValue that is not a number.
static constexpr NegativeInfinityNegative infinity.
static constexpr PositiveInfinityPositive infinity.

See Also