Could someone help with this, A hint is provided but I cannot seems to find a solution.

__________________________________________________ _______________________

$\displaystyle S = 1 + 0.5 + 0.25 + ... + (\frac{1}{2})^n$

What is the Value of S? [HINT = Multiply S by 2, then Solve]