How do i convert a column with id letters in a file to a number 1 or 0 in coldfusion output....for example

'CON' or 'BUS' to be converted to an output of '0'and '1' (0 to represent CON and 1 for BUS)

The script is shown below the 'CustomerTypeID ' column needs code that converts it from an "id" of ‘CON' or ‘BUS' to a "CustomerTypeId " of ‘0' or ‘1'. this is what the result i got...