Check out the Hyperspy Workshop May 13-17, 2024 Online

format_num#

static tqdm.format_num(n)#

Intelligent scientific notation (.3g).

Parameters:

n (int or float or Numeric) – A Number.

Returns:

out – Formatted number.

Return type:

str