Originally posted by GreenHammerBro
Originally posted by error
error: Malformed function call. [print double(round(100/3,0),5)]
I'll wait till asar gets those fixed.
To my defense: I'm an idiot!
For some reason, I thought making the double() function only read to the first comma/the first closing parenthesis was fine. This means that both versions of the function are currently broken.
Will have to rewrite the function and do it properly this time (I'm assuming it should be possible to just let the math parser figure out where the second argument begins).
As for why the first example results in 0... I have no idea. It really shouldn't. Is that the actual code you used? Is it the only code in your test file? I'll try to reproduce it later.
--------------------Feel free to visit my website/blog - it now isn't actually shit anymore!