1

How can I change the precision of floating point numbers in Sass using the sass-rails gem? My compiled Sass stylesheets only give three decimals of precision by default.

Matt Bradley
  • 4,395
  • 1
  • 20
  • 13
  • 1
    This is not an exact duplicate. The OP of the other question is using Sass with Compass. I can't change Sass source files, since Sass is included in the sass-rails gem. This would break future updates. – Matt Bradley Mar 05 '13 at 18:25
  • So install the [compass-rails](https://github.com/Compass/compass-rails) gem and use its ability to change that option without having to modify the Sass source. Problem solved. – bookcasey Mar 06 '13 at 00:15

0 Answers0