logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ParseUtils.Float

    Utility class for parsing float values

    Inheritance
    object
    ParseUtils.Float
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Shared.Utils
    Assembly: Serenity.Shared.dll
    Syntax
    public static class ParseUtils.Float

    Methods

    Parse(string)

    Parses a string value into a float.

    Declaration
    public static float Parse(string value)
    Parameters
    Type Name Description
    string value

    The string value to parse.

    Returns
    Type Description
    float

    The parsed float value.

    ToString(float)

    Converts a float value to its string representation using invariant culture.

    Declaration
    public static string ToString(float value)
    Parameters
    Type Name Description
    float value

    The float value to convert.

    Returns
    Type Description
    string

    The string representation of the float value.

    In this article
    © 2026 Serenity. All Rights Reserved