dist/vue-barcode.common.js
function checksum$4(data) {
	var result = 0;

	for (var i = 0; i < 13; i++) {
		result += parseInt(data[i]) * (3 - i % 2 * 2);
	}

	return Math.ceil(result / 10) * 10 - result;
}
function checksum$4(data) {
	var result = 0;

	for (var i = 0; i < 13; i++) {
		result += parseInt(data[i]) * (3 - i % 2 * 2);
	}

	return Math.ceil(result / 10) * 10 - result;
}
function checksum$4 ( data ) { var result = 0 ; for ( var i = 0 ; i < 13 ; i ++ ) { result += parseInt ( data [ i ] ) * ( 3 - i % 2 * 2 ) ; } return Math . ceil ( result / 10 ) * 10 - result ; }
Calulate the checksum digit
Calulate the checksum digit