format
Formats an ESIC number to its canonical 17-digit form.
Input is normalized (trim + strip internal whitespace) before formatting. The canonical form is plain digits with no separators.
Return
Canonical 17-digit string.
Parameters
value
Raw ESIC number string.
Throws
if input is not a valid ESIC number.
Samples
check(ESIC.format("12345678901234567") == "12345678901234567")Content copied to clipboard