# Question: write an algorithm to convert base 2 number string b4b3b2b1d1d2...

###### Question details

Write an algorithm to convert base 2 number string b4b3b2b1.d1d2 (Please note the numbers d1 and d2 are the numbers after the point in the string.) into decimal.