math.round_to_mintick

Rounds to the nearest multiple of syminfo.mintick.

math.round_to_mintick(x: int/float) -> float

Parameters

Example

mid = math.round_to_mintick(hl2)