|
|
Am 08.04.2013 16:40, schrieb Thomas de Groot:
> On 8-4-2013 16:17, Thomas de Groot wrote:
>
>> Yes. However, in my code #for (Counter, 1, 10) with default step=1, the
>> Counter only shows the numbers 1 to 9...
>> I am sure I am missing something obvious here :-(
>
> More bizarre than that: #for(Counter, 1, Numbers) where Numbers=50 the
> last number shown is 49, but for all other values (as far as I have
> tested now) the result is correct. Have I met a freakish behaviour just
> by chance? Something to do with rounding effect?
Can't confirm that one. Are you computing Numbers somehow? Maybe due to
rounding effects you end up with Numbers = 49.9999 or some such.
Post a reply to this message
|
|