- ago
Hello,

I was working on a block strategy and when I attempted to make a parameter start at a decimal but increase by an integer it would not create the correct interval for what I was setting it for. In the example below, I wanted it to start at "0.75" points and then increase by 2 full points to the stop value, but it would only use full integers and not decimals. I wanted the intervals to be (0.75, 2.75, 4.75, 6.75, 8.75, and 10.75) but instead they showed up as (1,3,5,7,9,11).

I seem to recall not having this problem before, so perhaps it is related to a recent change. I can't be totally sure. As a workaround, I am able to set the interval to something like "2.01" and it will come close to what I am looking to do with the strategy.

Thanks,
Dandude

Here are a couple of screenshots of the problem:


0
398
Solved
1 Replies

Reply

Bookmark

Sort
Glitch8
 ( 13.30% )
- ago
#1
Yes, it's fortunately just a display issue. The UI is rounding it to a number of decimals for display based on the Step value, not considering the Min and Max value. It's sorted out for Build 80.
1
Best Answer

Reply

Bookmark

Sort