Php Create Class From String To Float In C