This function is available in all scripts.
Functions
Return Value | Name | Description |
String | int2mac( long mac , int numGroups , String separator ) | Converts a MAC address in long format to the string representation consisting of numGroups of digits separated by separator . Default is 6 groups and a separator of ':' |
Sample usage
var macAddress = int2mac( host.macIfKnown );