xtd
0.2.0
Loading...
Searching...
No Matches
◆
clamp()
[10/13]
static
uint16
xtd::math::clamp
(
uint16
value
,
uint16
min
,
uint16
max
)
static
noexcept
Returns value clamped to the inclusive range of min and max.
Parameters
value
The value to be clamped.
min
The lower bound of the result.
max
The upper bound of the result.
Returns
value if min <= value <= max.
-or-
min if value < min.
>-or-
max if max < value.
xtd
math
Generated on Sat Sep 14 2024 21:25:18 for xtd by
Gammasoft
. All rights reserved.