You are here

public function CSSCompression_Numeric::numeric in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 6 advagg_css_compress/css-compressor-3.x/src/lib/Numeric.inc \CSSCompression_Numeric::numeric()

Runs all numeric operations

Parameters

(string) str: Unit string:

File

advagg_css_compress/css-compressor-3.x/src/lib/Numeric.inc, line 39

Class

CSSCompression_Numeric
CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com

Code

public function numeric($str) {
  $str = $this
    ->decimal($str);
  $str = $this
    ->zeroes($str);
  $str = $this
    ->units($str);
  return $str;
}