@Override
public void dump(OtpErlangObject arg, StringBuffer resultHolder) {
assert (arg instanceof OtpErlangDouble)
|| (arg instanceof OtpErlangFloat);
if (arg instanceof OtpErlangDouble) {
OtpErlangDouble doubleValue = (OtpErlangDouble) arg;
resultHolder.append(doubleValue.doubleValue());
} else if (arg instanceof OtpErlangFloat) {
OtpErlangDouble doubleValue = (OtpErlangDouble) arg;
resultHolder.append(doubleValue.doubleValue());
}
}