cn.chenhuanming.octopus.formatter.DoubleFormatter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of octopus Show documentation
Show all versions of octopus Show documentation
A simple excel import and export tool
package cn.chenhuanming.octopus.formatter;
/**
* @author chenhuanming
* Created at 2019-01-08
*/
public class DoubleFormatter extends AbstractFormatter {
@Override
public Double parseImpl(String str) throws Exception {
return Double.valueOf(str);
}
@Override
public String format(Double aDouble) {
return String.valueOf(aDouble);
}
}