to_human_str_ByteSize_t Function

private pure function to_human_str_ByteSize_t(this, binary, after_comma) result(res)

Type Bound

ByteSize_t

Arguments

Type IntentOptional Attributes Name
class(ByteSize_t), intent(in) :: this
logical, intent(in), optional :: binary

Use binary prefixes, i.e. GiB = 230 instead of decimal, i.e. GB = 109 By default false

integer, intent(in), optional :: after_comma

digits after the comma By default 2

Return Value character(len=:), allocatable