Convert Binary to Decimal

Hi,

Does anyone know how to convert a binary number to a decimal number using lotus script?

i.e 100111 in binary = 39 in decimal

Subject: Use &B

eg. Cint(“&B” + “100101101”) will return the integer 301

Hope this helps Hayles,

Luke