MySQL Forums
Forum List  »  PHP

Re: Decimal Compare not working
Posted by: Hans Brost
Date: June 16, 2014 08:31PM

OR, when comparing MstMACDPrev which came from the DB with MstMACD which is calculated.....even though they are the same, it won't work unless you round the calculated value.....I noticed that the variable from the DB is shown in an echo as -0.00003 and the calculated value is shown as -3.0E-5

z

Options: ReplyQuote


Subject
Written By
Posted
June 16, 2014 12:12PM
Re: Decimal Compare not working
June 16, 2014 08:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.