Rafael Alfredo Capucho / Publications
Forum
[Resolved] MathRound overload misbehaving with doubles
Hi, All the variables bellow are double s, I'm accumulating them summing with other double s like: profit = ( double ) HistoryDealGetDouble (deal_ticket, DEAL_PROFIT ); but in the end, when trying to do a`MathRound`, simple as this, it returns error: withdrawn_sum = MathRound (withdrawn_sum, 2 );