@Override
protected String formatTo(final Formatter formatter) {
WKTUtilities.appendName(descriptor, formatter, ElementKind.PARAMETER);
final Unit<?> targetUnit = formatter.toContextualUnit(descriptor.getUnit());
final Convention convention = formatter.getConvention();
final boolean isWKT1 = convention.majorVersion() == 1;
if (isWKT1 && targetUnit != null) {
double convertedValue;
try {
convertedValue = doubleValue(targetUnit);
} catch (IllegalStateException exception) {