Return the optional real value or its fallback.
Selects val when present and otherwise returns default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=pr), | intent(in), | optional | :: | val |
Optional real value. |
|
| real(kind=pr), | intent(in) | :: | default |
Value returned when |