support float config parameters
support float config parameters(2)
some refactoring