All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cucumber.runtime.converters.FloatConverter Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
package cucumber.runtime.converters;

import java.util.Locale;

public class FloatConverter extends ConverterWithNumberFormat {

    public FloatConverter(Locale locale) {
        super(locale, new Class[]{Float.class, Float.TYPE});
    }

    @Override
    protected Float downcast(Number argument) {
        return argument.floatValue();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy