Single
Contents
[
Hide
]Single struct
Contains methods to work with the single-precision floating-point number.
class Single
Methods
Method | Description |
---|---|
static float Parse(const String&) | Converts the specified string containing the string representation of a number to the equivalent single-precision floating-point value. |
static float Parse(const String&, const SharedPtr<IFormatProvider>&) | Converts the specified string containing the string representation of a number to the equivalent single-precision floating-point value using the provided formatting information. |
static float Parse(const String&, const SharedPtr<Globalization::CultureInfo>&) | |
static float Parse(const String&, const SharedPtr<Globalization::NumberFormatInfo>&) | |
static float Parse(const String&, std::nullptr_t) | |
static float Parse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&) | Converts the specified string containing the string representation of a number to the equivalent single-precision floating-point value using the provided formatting information and number style. |
static float Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&) | |
static float Parse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&) | |
static float Parse(const String&, Globalization::NumberStyles, std::nullptr_t) | |
static bool TryParse(const String&, float&) | Converts the specified string containing the string representation of a number to the equivalent single-precision floating-point value. |
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<IFormatProvider>&, float&) | Converts the specified string containing the string representation of a number to the equivalent single-precision floating-point value using the provided formatting information and number style. |
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::CultureInfo>&, float&) | |
static bool TryParse(const String&, Globalization::NumberStyles, const SharedPtr<Globalization::NumberFormatInfo>&, float&) | |
static bool TryParse(const String&, Globalization::NumberStyles, std::nullptr_t, float&) |
Fields
Field | Description |
---|---|
static constexpr Epsilon | Smallest positive value that is greater than zero. |
static constexpr MaxValue | Largest possible value. |
static constexpr MinValue | Smallest possible value. |
static constexpr NaN | Value that is not a number. |
static constexpr NegativeInfinity | Negative infinity. |
static constexpr PositiveInfinity | Positive infinity. |
See Also
- Namespace System
- Library Aspose.Slides