diff --git a/pyhon/parameter/range.py b/pyhon/parameter/range.py index 6eef53e..76bd2b6 100644 --- a/pyhon/parameter/range.py +++ b/pyhon/parameter/range.py @@ -69,4 +69,11 @@ class HonParameterRange(HonParameter): @property def values(self) -> List[str]: + if isinstance(self.step, float): + result = [] + i = self.min + while i <= self.max: + i += self.step + result.append(str(i)) + return result return [str(i) for i in range(int(self.min), int(self.max) + 1, int(self.step))]