as_bars#

as_bars(v)[source]#

Format value as number of bars. Rounds down so we only use the number of fully completed bars.

Parameters:

v (float) –

Return type:

Value