black_building:
All of the mathematic functions are that way (disagree on return signature).
All of the mathematic functions are that way (disagree on return signature).
Those functions are from different universes. One is built-in (predefined), the other is from the standard library.
Obviously, a function that changes the size of an array can fail. Vladislav Boyko #:
How do I get the Math Functions (return result)? Some of the project listed in this web site are using math functions which return result.
Those functions are from different universes. One is built-in (predefined), the other is from the standard library.
Obviously, a function that changes the size of an array can fail. black_building #:
How do I get the Math Functions (return result)?
How do I get the Math Functions (return result)?
What exact result do you want to get?
- The built-in function already returns a floating-point number (and accepts a numeric value).
- The standard library function returns true if successful, otherwise false. This function has arrays at its input and output. You cannot return an array (using the return statement) even if you imagine that the function never fails.
black_building #:
Some of the project listed in this web site are using math functions which return result.
Some of the project listed in this web site are using math functions which return result.
Do it in a similar way to those projects if you want.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
math_down.png is Math.h came with QML5 download when I ,first time, installed MQL5. mql5 mathabs.png is the screen short of QML5 Reference->Math function. Those two function don't have the same return signature. Math.h return a boolean status while the reference return results.
All of the mathematic functions are that way (disagree on return signature).
Any comment on this.