Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

sizeFormat

text sizeFormat(size, pattern, language)

Returns the size formatted as SI byte units (kB, MB, etc.) in language, pattern is currently ignored.

Parameters

  1. size — size in bytes.
  2. pattern — optional formatting pattern, currently ignored.
  3. language — optional language code, defaults is the device language.

Returns

  • the formatted size.
Note! This documentation is also accessible within the app from Help & feedback menu.