+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-985

Wrong NumToStr output or calculation error [7.4 & 8.0 RC]

action_vote_minus_faded.png
2
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

NumToStr does not display 3 decimals when log1000/log10 used as parameter.
Affects 7.4 and 8.0RC.
Important because prevent me from displaying the right values on chart.
Regards.

Steps to reproduce this issue

vars: precision(0), N (0) ;
once cleardebug ;
N = 1.2345 ;
if LastBarOnChart then begin
precision = 3 ;
print( "precision= ", precision, " ==> ", NumToStr( N , precision ) ) ;
precision = log( 1000 ) / log( 10 )  ;
print( "precision= ", precision, " ==> ", NumToStr( N , precision ) ) ;
precision = 9 / 3  ;
print( "precision= ", precision, " ==> ", NumToStr( N , precision ) ) ;
end ;
{ OUTPUT
precision=    3.00 ==> 1.234
precision=    3.00 ==> 1.23
precision=    3.00 ==> 1.234
}

Comments (2)
#1
user-offline.png  JoeTrader (Guest)
Apr 22, 2017 - 21:09

Hello. And Bye.

#2
user-offline.png  JoeTrader (Guest)
Apr 22, 2017 - 22:37

<a href=https://www.berwynmountainpress.co.uk/images/img-ber/1356-adidas-neo-white-rose-gold.jpg>Adidas Neo White Rose Gold</a>
Ensure your emphasis is on organizations that have been raising intrinsic ideals on the shares in the long term. By centering on businesses with sizeable economical moats, you will discover businesses that are nearly certain to have greater revenue in approximately ten years. This allows you a increased possiblity to generate income.

<img>https://www.alcius.es/images/alcius/3075-adidas-ultra-boost-negras-con-blanco.jpg</img>

Get blog writers within your area of interest, leaving responses on his or her blogs. The fantastic thing about remarks is that you may generally depart the link with all the remark, giving visitors of that blog site a method to find your blog or blog site. Although staying with blog sites with bigger followings is prone to generate more traffic to suit your needs, website visitors from small blogs could add as nicely.
<a href=https://www.berwynmountainpress.co.uk/images/img-ber/1924-adidas-nmd-runner.jpg>Adidas Nmd Runner</a>

<img>https://www.alcius.es/images/alcius/865-adidas-la-trainer-azul-turquesa.jpg</img>

History
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targeted for
    MultiCharts 8.0 (RELEASED)
  • Status
    Released
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Critical
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates