Help Center

DWStrFormatByteSizefunction

Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.

String ManagementfunctionDWSTRProcs.incdocumented

Syntax

FUNCTION DWStrFormatByteSize (BYVAL ull AS LONGLONG) AS DWSTRING

Parameters

NameDescription
ullThe numeric value to be converted.

Description

Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.

Reference

  • Include file DWSTRProcs.inc
  • Defined in AfxNova/DWStrProcs.inc:1178
  • Documented in String Management/DWString Procedures.md
  • Topic: String Procedures