Class for converting between different unit-lengths as specified by CSS.
Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 7273)
Units information array. Units are grouped into measuring systems
(English, Metric), and are assigned an integer representing the conversion factor between that unit and the smallest unit in the system. Numeric indexes are actually magical constants that encode conversion data from one system to the next, with a O(n^2) constraint on memory (this is generally not a problem, since the number of measuring systems is small.)
Bcmath precision for internal calculations.
Minimum bcmath precision for output.
Converts a length object of one unit into another unit.
Returns the number of significant figures in a string number.
Documentation generated on Sun, 06 Mar 2011 00:24:13 -0500 by phpDocumentor 1.4.3