Adding the possibility of having float value document class