Parse a string_type into a single precision real.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | str | |||
| real(kind=sp), | intent(out) | :: | value | |||
| type(error_t), | intent(out) | :: | err |
subroutine parse_real_sp_string(str, value, err) !! Parse a `string_type` into a single precision real. type(string_type), intent(in) :: str real(sp), intent(out) :: value type(error_t), intent(out) :: err call parse_real_sp_char(char(str), value, err) end subroutine parse_real_sp_string