Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$VCD^XLFUTL(): Verify Integrity

Reference Type: Supported, Category: Utility Functions, Integration Agreement: 2622

Description

This extrinsic function verifies the integrity of a number with an appended check digit. The check digit must be appended by the $$CCD^XLFUTL(): Append Check Digit API.

Format

  $$VCD^XLFUTL(number)

Input Parameters

number:

(required) Number to verify, including appended check digit.

Output

returns:

Returns:

  • 1—Number corresponds to check digit.

     
  • 0—Number does not correspond to check digit.

Example 1

>S X=$$VCD^XLFUTL(76543214)

>W X
1

Example 2

Transposing "32" to "23":

>S X=$$VCD^XLFUTL(76542314)

>W X
0


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.