FormatFloat(float, int)
Formats a given float as a string.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: Unity.ProjectAuditor.Editor.Utils
- Assembly: UnityEditor
public static string FormatFloat(float val, int decimalPlaces)
Parameters
Returns
Type | Description |
|---|---|
| string | A string representation of the input value as a float. |