STR SIZE()

From Lianjapedia
Revision as of 04:58, 29 April 2020 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to return a 'human readable' character string for the specified number in KB, MB or GB

Syntax

STR_SIZE(<expN>)

See Also

FSIZE(), ISDIGIT(), STR_DATE()

Description

The STR_SIZE() function returns a 'human readable' character string for the specified number <expN> in KB, MB or GB.

Example

? fsize("example.dbf")
     36485
? str_size(fsize("example.dbf"))
35.000KB