Start » Filter Reference » Basic » Real » ClampDouble
Module: | FoundationLite |
---|
Returns a value as close as possible to inValue, but in the specified range.
Name | Type | Description | |
---|---|---|---|
![]() |
inValue | Double | |
![]() |
inMinimum | Double | |
![]() |
inMaximum | Double | |
![]() |
outClampedValue | Double |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Invalid range (inMinimum > inMaximum) given in ClampDouble. |
Complexity Level
This filter is available on Basic Complexity Level.