Alternate version of json_file_update_real where val
is real32
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(inout) | :: | me | |||
character(kind=CK,len=*), | intent(in) | :: | path | |||
real(kind=real32), | intent(in) | :: | val | |||
logical(kind=LK), | intent(out) | :: | found |
subroutine json_file_update_real32(me,path,val,found)
implicit none
class(json_file),intent(inout) :: me
character(kind=CK,len=*),intent(in) :: path
real(real32),intent(in) :: val
logical(LK),intent(out) :: found
call me%update(path,real(val,RK),found)
end subroutine json_file_update_real32