[Gambas-user] MoonPhase
Pino Zollo
pinozollo at ...626...
Thu May 22 17:59:17 CEST 2008
Alle 08:26, giovedì 22 maggio 2008, gambas-user-request at ...48....net
ha scritto:
> >> Alas I'm no Gambas nor Math/Astronomy wizard.
> >>
> >> Regards,
> >> Ron.
> >>
> >
> > Math.Floor() in Javascript must be replaced by Int(), not Round(). Maybe
> > it is the source of the problem.
> >
> > Regards,
> >
>
> Ok, got it working ok now.
> The Int()'s did magic, and I forgot ( ) around a calculation somewhere.
> The new MoonPhase routine is attached.
>
> Thanks,
> Ron.
Ron can you put your code somewhere where I can download it. I am interested
to include it into my project.
Thanks
Pino
P.S. Attachments do not come with Gambas-user Digest
More information about the User
mailing list