Removal of strange display of small numbers in power of 10s

Created at 27 Jun 2014, 12:42
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
bachapk's avatar

bachapk

Joined 20.03.2014

Removal of strange display of small numbers in power of 10s
27 Jun 2014, 12:42


If we want to display the spread of EURUSD or any other 5 digits pair through ChartObjects.DrawText and the spread is around 0.00001 then it will be displayed like "1E-05" instead of "0.00001" which is totally meaningless. I have done it even after rounding the spread to Digits. My suggestion is to round and display lower numbers as it is rather than powers of 10s.


cTrader Automate
@bachapk