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

    return true;
  }