[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New behavior with variables


This works:
dateadd(date(2000,12.1,"12"), gb.year, 1)

This fails:
dateadd(date(2000,12.1,"12"), gb.year, 1.0)

It's a bug.

Jussi

On Tue, Mar 24, 2026 at 11:32 PM Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
wrote:

> Not sure what is going on... has SpinBox.Value always been float?
> If so, then why it is not automatically converted as integer anymore?
>
> This raises error about mismatch:
> hDate = DateAdd(hDate, gb.Year, sboxYear.Value)
>
> This is with the development version.
>
> Jussi
>
>
>
>

Follow-Ups:
Re: New behavior with variablesBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
New behavior with variablesJussi Lahtinen <jussi.lahtinen@xxxxxxxxx>