I am trying to use sass + compass to make a fluid grid and I need my %'s to have at least 8 digits when compute them out but right now sass + compass is rounding my decimals to 3-digits. I found that if use --precision
you can tell sass to round to how ever many digits you want, my issue is that i can seem to figure out how to get --precision
to work from the terminal on my project. Please help
Asked
Active
Viewed 5,583 times
4
-
check this article out: http://heygrady.com/blog/2012/04/20/compass-grid-gem-and-new-fluid-grid/ – Jason Apr 29 '12 at 17:55
-
really dosent tlk about adjusting rounding in compass or sass, i need a way to change the rounding, which --precision ishould do but i just cant get it to work – Lawrence Apr 29 '12 at 21:52
2 Answers
5
According to this answer, configuring @precision in SASS's numbers.rb will achieve this result. It appears that --precision is nonfunctional.

Community
- 1
- 1

Justin Maxwell
- 439
- 3
- 13
-
1
-
In Windows, you can find it at `Ruby22-x64\lib\ruby\gems\2.2.0\gems\sass-3.4.21\lib\sass\script\value`. – Marlos Jan 29 '16 at 19:05