Validating number

Posted by / 22-Dec-2019 23:09

Validating number

Substring(2 * i 1, 1)) Next b *= 2 Dim c As Integer = 0 Do c = b Mod 10 b = Int(b / 10) Loop Until b Does anybody know of a readily accessible portal at which a ID number can be checked against a known identity (without having to subscribe to ITC).The worked fine for me in order to confirm identity, as you could enter a valid ID and it would return First names and Surname along with voting district.

Substring(i * 2, 1)) Next Dim b As Integer = 0 For i As Integer = 0 To 5 b = b * 10 CInt(id No.I need to find out how could a female and a male share the same identity number?We all know that female ID numbers start with the number 0 after date of birth and the male ID numbers start with the number 5.lv_C := lv_C lv_A; lv_D := 10 - (lv_C mod 10); IF (lv_D = 10) THEN lv_D := 0; END IF;-- compare value in lv_D with lv_last_number lv_last_number := CAST(SUBSTR(p_id_number, 13, 1) AS NUMBER); IF (lv_last_number = lv_D) THEN lv_is_valid := 1; lv_rply := TRUE; END IF; RETURN lv_rply; -- ************************************ -- ** Handle an unexpected exception ** -- ************************************ EXCEPTION WHEN lv_length_err THEN lv_rply := FALSE; return lv_rply; WHEN no_data_found THEN lv_rply := FALSE; return lv_rply; --custom exception (place your own methods here) --WHEN OTHERS THEN -- raise_exception(SQLCODE, SQLERRM, 'FN_VALID_SA_ID_NUMBER'); END; Hi there I am a technical consultant and would like to know what the SSS as well as the A (8 & 9 in the id) and the z stands for.Please also confirm whether the the intelligence built in the South African Id number remains the same!!!!

validating number-79validating number-53validating number-78

I tried a few permutations but it doesn't seem straightforward. Also let me know if you want a copy of the old SQL - still have that.

One thought on “validating number”