We are about to switch to a new forum software. Until then we have removed the registration on this forum.
it should be simple but str() doesnt work for some reason, even though the reference clearly states it should. would love to get some help with this.
Answers
Processing has a preference on floats over double primitive types. The community decided to support only floats so you will need to do explicit casting.
Kf
http://docs.Oracle.com/javase/8/docs/api/java/lang/Double.html#toString-double-
While @GoToLoop's solution is correct, my advice is simple - don't use doubles when using Processing. The community decided to use floats for all purposes in Processing, and you can't really use most of Processing's built in functions with doubles.