This routine overrides the default dp precision used for printing strings in the to_char function, the default is : integer(default_int), parameter :: default_dp_precision = 12
Usage: call set_precision(variable) where variable is default_int
Set the precision for real numbers
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=default_int), | intent(in) | :: | precision |