Sha256: 553bbfe3b4a1386a52b5bcdd5d44fdee9cd8e3494ffab7df4306a4f3939d999c

Contents?: true

Size: 396 Bytes

Versions: 9

Compression:

Stored size: 396 Bytes

Contents

// ---------------------------------------------------------------------------
// @function percentage-round
// 
// Similar to the SASS percentage() function, but rounds down to 2 decimals
// $columns :   Fraction to convert to percentage
// @return  :   Percentage value rounded down to 2 decimals

@function percentage-round( $value ) {
    @return floor( percentage( $value ) * 100 ) / 100;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ezy-0.2.6.alpha sass/ezy/_functions.scss
ezy-0.2.0.alpha sass/ezy/_functions.scss
ezy-0.1.0 sass/ezy/_functions.scss
ezy-0.0.8 sass/ezy/_functions.scss
ezy-0.0.7 sass/ezy/_functions.scss
ezy-0.0.6 sass/ezy/_functions.scss
ezy-0.0.5 sass/ezy/_functions.scss
ezy-0.0.4 sass/ezy/_functions.scss
ezy-0.0.3 sass/ezy/_functions.scss