Table of Contents

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

float

Methods

Format(float)

public static string Format(float value)

Parameters

value float

Returns

string

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

FloatString

implicit operator FloatString(float)

public static implicit operator FloatString(float value)

Parameters

value float

Returns

FloatString

implicit operator float(FloatString)

public static implicit operator float(FloatString legacyFloat)

Parameters

legacyFloat FloatString

Returns

float

implicit operator string(FloatString)

public static implicit operator string(FloatString floatString)

Parameters

floatString FloatString

Returns

string