getLength

Get the length if contained in the gs1 code, converted to Unit.