FormatHz(int)
Formats a given frequency as a string in the format "X Hz" or "X kHz".
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.ProjectAuditor.Editor.Utils
- Assembly: UnityEditor
public static string FormatHz(int frequency)
Parameters
Frequency value to format.
Returns
Type | Description |
|---|---|
| string | A string representation of the input value as a frequency in Hz or kHz. |