Skip to content

Commit

Permalink
Fixes warning 181: implicit conversion from 'number' to 'string'
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Jun 20, 2019
1 parent 2bbe214 commit 5686ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestLotstep.mq4
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
int OnInit() {
long symbol_spread = SymbolInfoInteger(_Symbol, SYMBOL_SPREAD);
int real_spread = (int)MathRound((Ask - Bid) * MathPow(10, Digits));
double lot_step = SymbolInfoDouble(_symbol, SYMBOL_VOLUME_STEP); // Same as: MarketInfo(symbol, MODE_LOTSTEP);
double lot_step = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_STEP); // Same as: MarketInfo(symbol, MODE_LOTSTEP);
Print("Testing lot step...");
PrintFormat("Symbol digits : %g", Digits);
PrintFormat("Lot step : %g", lot_step);
Expand Down

0 comments on commit 5686ea9

Please sign in to comment.