Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
clamp(val:Number, min:Number, max:Number):Number
ulfben
Mar 6th, 2016
11,626
0
Never
4
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
ActionScript 3
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
private
function
clamp
(
val
:
Number
,
min
:
Number
,
max
:
Number
)
:
Number
{
return
(
val
>
max
)
?
max
:
(
(
val
<
min
)
?
min
:
val
)
;
//= Math.max(min, Math.min(max, val))
}
Advertisement
Comments
User was banned
Rteuixl
223 days
#
text
0.21 KB |
0
0
view
report
reply
Best t33n active cpx link daily updates!
Copy and paste the link in a new browser tab and then hit enter!
https://crazyporn.@xxx/members/157354/?asgtbndr=1&play=true&spon=adworld&zone=400
Remove the @
User was banned
Comment was deleted
Add Comment
Please,
Sign In
to add comment
Public Pastes
Older module trading
CSS | 30 min ago | 1.00 KB
How to hack an exchange
CSS | 30 min ago | 1.00 KB
Got $12,000 from this module bug
CSS | 30 min ago | 1.00 KB
✅ This month smells like money
CSS | 30 min ago | 1.00 KB
Instant Profits Method
CSS | 30 min ago | 1.00 KB
Bought a $40 MacBook Air
15 hours ago | 0.55 KB
My Amazon Shoppe
20 hours ago | 0.40 KB
Untitled
22 hours ago | 0.42 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!