case TYPE_LONG:
appendLong(result, flags, width, value.toLong());
break;
case TYPE_DOUBLE:
appendFloat(result, flags, width, precision, value.toDouble(), false);
break;
case TYPE_DOUBLE_SIGNIFICANT:
appendFloat(result, flags, width, precision, value.toDouble(), true);
break;