public Double toDouble(CssString input) { try { return Double.parseDouble(input.getValue()); } catch (NumberFormatException ex) { return Double.NaN; } }
public boolean appendCssString(CssString expression) { String quoteType = expression.getQuoteType(); cssOnly.append(quoteType).append(expression.getValue()).append(quoteType); return true; }