Skip to content
Permalink
Browse files

Merge pull request #1013 from tomass/master

Fix function example explanation
  • Loading branch information
3nids committed Nov 28, 2013
2 parents f624792 + 688952d commit 6cb26125779c7f2c49ae66844d9e0b16ed684ffd
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 6cb2612

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