Some conversion routines for gen_barcode, accept integer as data etc.