Use the fact that every real number has a decimal expansion to produce a 1-1 function that maps S into (0,1). Discuss whether the formulated function is onto.

S={(0,1):0<x, y<1}

I don't even know where to begin. The whole decimal expansion business has me confused.