You are here

constant SassNumber::PRECISION in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/script/literals/SassNumber.php \SassNumber::PRECISION

The number of decimal digits to round to. If the units are pixels the result is always rounded down to the nearest integer.

File

phpsass/script/literals/SassNumber.php, line 34

Class

SassNumber
SassNumber class. Provides operations and type testing for Sass numbers. Units are of the passed value are converted the those of the class value if it has units. e.g. 2cm + 20mm = 4cm while 2 + 20mm = 22mm. @package PHamlP @subpackage …

Code

const PRECISION = 4;