Thanks Fabien, Yes, I have done that and the problem is fixed. It was interesting that the same function in different locations can produce different answers. I suppose that is the risk with float values. Bill
-- View this message in context: http://gambas.8142.n7.nabble.com/Custom-library-function-returns-wrong-value-tp50542p50544.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user