diff --git a/lib/compass/sass_extensions/functions/trig.rb b/lib/compass/sass_extensions/functions/trig.rb index 95c38508..8e87ab4b 100644 --- a/lib/compass/sass_extensions/functions/trig.rb +++ b/lib/compass/sass_extensions/functions/trig.rb @@ -19,7 +19,7 @@ module Compass::SassExtensions::Functions::Trig private def trig(operation, number) if number.numerator_units == ["deg"] && number.denominator_units == [] - Sass::Script::Number.new(Math.send(operation, Math::PI * number.value / 360)) + Sass::Script::Number.new(Math.send(operation, Math::PI * number.value / 180)) else Sass::Script::Number.new(Math.send(operation, number.value), number.numerator_units, number.denominator_units) end