Parses an attribute using parseFloat