From d8e43bfdd7f43796d52f82cacbe92dc379beb44a Mon Sep 17 00:00:00 2001 From: Tyrinslys Valinlore Date: Wed, 3 Aug 2011 11:13:12 -0400 Subject: [PATCH] Changed the descriptions of the sin, cos, and tan to be more descriptive. --- .../content/reference/compass/helpers/trig.haml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/doc-src/content/reference/compass/helpers/trig.haml b/doc-src/content/reference/compass/helpers/trig.haml index 2147d2b2..2e574ccc 100644 --- a/doc-src/content/reference/compass/helpers/trig.haml +++ b/doc-src/content/reference/compass/helpers/trig.haml @@ -35,8 +35,9 @@ documented_functions: sin($number) .details %p - Takes the sine of a number. If the number is unitless or has a unit of deg - then it will return a unitless result. Degrees will first be converted to radians. + Returns the sine of a number. If the number is unitless or has a unit of deg + then it will return a unitless result. Unless the number has a unit of deg it + will be evaluated as radians. Degrees will first be converted to radians. If the number is any other unit, the units will be passed thru to the result, and the number will be treated as radians. @@ -46,8 +47,9 @@ documented_functions: cos($number) .details %p - Takes the cosine of a number. If the number is unitless or has a unit of deg - then it will return a unitless result. Degrees will first be converted to radians. + Returns the cosine of a number. If the number is unitless or has a unit of deg + then it will return a unitless result. Unless the number has a unit of deg it + will be evaluated as radians. Degrees will first be converted to radians. If the number is any other unit, the units will be passed thru to the result, and the number will be treated as radians. #tan.helper @@ -56,7 +58,8 @@ documented_functions: tan($number) .details %p - Takes the tangent of a number. If the number is unitless or has a unit of deg - then it will return a unitless result. Degrees will first be converted to radians. + Returns the tangent of a number. If the number is unitless or has a unit of deg + then it will return a unitless result. Unless the number has a unit of deg it + will be evaluated as radians. Degrees will first be converted to radians. If the number is any other unit, the units will be passed thru to the result, and the number will be treated as radians.