string_formatter_plots

concreteproperties.post.string_formatter_plots(value: float, prec: int) str[source]

Formats a float using engineering notation for plotting.

Parameters:
  • value (float) – Number to format

  • prec (int) – The desired precision (i.e. one plus this value is the desired number of digits)

Returns:

Formatted string

Return type:

str