added GetFloat method to config