Skip to content

Commit

Permalink
Merge pull request #1013 from tomass/master
Browse files Browse the repository at this point in the history
Fix function example explanation
  • Loading branch information
3nids committed Nov 28, 2013
2 parents f624792 + 688952d commit 6cb2612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/function_help/clamp
Original file line number Diff line number Diff line change
Expand Up @@ -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.