docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Floats

    Floats(float[], int, int)

    Formats the floats input as per given precision and stride.

    Declaration
    public static string Floats(float[] floats, int stride = 0, int precision = 3)
    Parameters
    Type Name Description
    float[] floats

    Input float array

    int stride

    Number of floating points in a single stride.

    int precision

    Precision for floating point numbers.

    Returns
    Type Description
    string

    Formatted string of floating point numbers.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)