Share via


Bank_IT.getEven Method [AX 2012]

Returns the Even Numeric value based on the conversion table.

Syntax

private int getEven(str _character)

Run On

Called

Parameters

  • _character
    Type: str

Return Value

Type: int
The Even Numeric value.

Remarks

This function is a helper function for the validateCIN function.

The following information is the conversion table used for determining the Even Numeric value:

//Character   Value  |  Character  Value  |  Character   Value 
//  a/A/0       0           k/K      10           u/U      20 
//  b/B/1       1           l/L      11           v/V      21 
//  c/C/2       2           m/M      12           w/W      22 
//  d/D/3       3           n/N      13           x/X      23 
//  e/E/4       4           o/O      14           y/Y      24 
//  f/F/5       5           p/P      15           z/Z      25 
//  g/G/6       6           q/Q      16 
//  h/H/7       7           r/R      17 
//  i/I/8       8           s/S      18 
//  j/J/9       9           t/T      19

See Also

Reference

Bank_IT Class