Methods
(static) formatFrequency(hertz) → {string}
- Description:
This function takes in a frequency in Hz and returns a more readable result in kHz or mHz.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
hertz |
number |
Returns:
A string value containing the number and scale of the parameter passed.
- Type
- string
(static) getMedian(array) → {number}
Parameters:
| Name | Type | Description |
|---|---|---|
array |
Array.<number> | Array of numbers. |
Returns:
The median value from the array.
- Type
- number
(static) showToast(message, status)
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | Message you want to display within the popup. |
status |
string | Style of the popup window :
|