Questions from Beginners MQL4 MT4 MetaTrader 4 - page 240
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
It was a simple thing to do:
And the puzzle was easy to solve:
The problem is that it's not a number entered as text (e.g. "345.45") that I need to convert to Double, but any text not related to the number itself. When applying e.g.
StringToDouble("Исходный_текст") на выходе будут нули.
It is the same in reverse. You can of course loop through each character of the string using
StringGetChar();
and put their codes into Double, but how to decrypt/receive string from Double ?
So any other options ?
The problem is that it's not a number entered as text (e.g. "345.45") that I need to convert to Double, but any text not related to the number itself. When applying e.g.
It is the same in reverse. Any other variants ?
StringToCharArray
So are there any other options?
I don't understand the point of this conversion, do you want to get a hash sum? There will be problems with reverse decryption. If the conversion decreases the amount of information, then you are losing it irretrievably.
What number do you want to see here:
I don't understand the point of this conversion, do you want a hash sum? There will be a problem with reverse decryption. If the conversion decreases the amount of information, then you are losing it irretrievably.
What number do you want to see here?
Probably this one:
That's funny ;)
You can correspond like that on the forum. History, politics, all the hard stuff, and no one will send you to the ban. Twos, threes, ones...
Well, you'll have to write a decoder to read it now.
Well, if it's a string, then you need extra code, but an array directly