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
valuefloat
Properties
Value
public float Value { get; }
Property Value
Methods
Format(float)
public static string Format(float value)
Parameters
valuefloat
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
valuestring
Returns
implicit operator FloatString(float)
public static implicit operator FloatString(float value)
Parameters
valuefloat
Returns
implicit operator float(FloatString)
public static implicit operator float(FloatString legacyFloat)
Parameters
legacyFloatFloatString
Returns
implicit operator string(FloatString)
public static implicit operator string(FloatString floatString)
Parameters
floatStringFloatString