Struct FloatString
- Namespace
- Xabbo
- Assembly
- Xabbo.Common.dll
Represents a float that is parsed and composed as a string.
public readonly struct FloatString
- Inherited Members
Constructors
FloatString(float)
Represents a float that is parsed and composed as a string.
public FloatString(float value)
Parameters
value
float
Properties
Value
public float Value { get; }
Property Value
Methods
Format(float)
public static string Format(float value)
Parameters
value
float
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
explicit operator FloatString(string)
public static explicit operator FloatString(string value)
Parameters
value
string
Returns
implicit operator FloatString(float)
public static implicit operator FloatString(float value)
Parameters
value
float
Returns
implicit operator float(FloatString)
public static implicit operator float(FloatString legacyFloat)
Parameters
legacyFloat
FloatString
Returns
implicit operator string(FloatString)
public static implicit operator string(FloatString floatString)
Parameters
floatString
FloatString