algpy_src.base.utils.underscore_formatter

algpy_src.base.utils.underscore_formatter#

underscore_formatter(x, *args)#

Convert the given input to integer and return it in underscore-formatted string form.

Parameters:
  • x (int | float) – The input numeric value to format.

  • *args (Any) – Other arguments (e.g., ‘pos’ passed by matplotlib).

Returns:

formatted_input – Return the given input value as integer in underscore-formatted string form.

Return type:

str