cucumber.runtime.converters.FloatConverter Maven / Gradle / Ivy
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