This VI shows how to convert a binary, hexadecimal, or octal number into a decimal value. The input value is a string and can have any number of leading zeros.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.