Sass and rounding down numbers. Can this be configured?

If you are using Compass, you can easily specify the precision in your project file (config.rb) without hacking the core:

Sass::Script::Number.precision = 8

For more information see Sass documentation

Leave a Comment