The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (API DevKit) for independent software developers

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, gkmethy, Tibor Lorántfy, rmasaki, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik

By Tomer1

I’m printing variables using acapi_writereport..
Today I just couldn’t print doubles. Whenever I print a double (using %d), it just gives me huge random numbers.. not even doubles (without . In the number)
For testint I even tried to set double t=0.1 and then to print it, it was still a huge number.. it used to be fine so all I can guess is to delete cache files/refresh things or something like this..

By Erenford
Tomer1 wrote:
Mon Aug 12, 2019 6:46 pm
Thanks.. Is there a document that sums those things up? Maybe a guide on the best way to debug?
just do a web search for "printf format"