//ERDDAP/com.cohort.util/ScriptString2/to0xHexString
to0xHexString
[JVM]
open fun to0xHexString(i: Int, nHexDigits: Int): String
This returns the int formatted as a 0x hex String with at least nHexDigits, e.g., 0x00FF00. Negative numbers are twos compliment, e.g., -4 -> 0xfffffffc.