Skip to content
Permalink
Browse files

Fix function example explanation

  • Loading branch information
tomass committed Nov 27, 2013
1 parent f624792 commit 688952d56a727421e70d9138490332070465695f
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/function_help/clamp
@@ -14,6 +14,6 @@ Restricts an input value to a specified range.
<!-- Show example of function.-->
clamp(1,5,10) &rarr; 5 (<i>input</i> is between 1 and 10 so is returned unchanged)<br>
clamp(1,0,10) &rarr; 1 (<i>input</i> is less than minimum value of 1, so function returns 1)<br>
clamp(1,11,10) &rarr; 10 (<i>input</i> is greater than maximum value of 10, so function returns 11)<br>
clamp(1,11,10) &rarr; 10 (<i>input</i> is greater than maximum value of 10, so function returns 10)<br>


0 comments on commit 688952d

Please sign in to comment.
You can’t perform that action at this time.