Archiv verlassen und diese Seite im Standarddesign anzeigen : Wie mache ich eine Doppelrunde auf 1 Dezimalstelle?
Losgröße =
http://docs.mql4.com/convert/NormalizeDouble(LotSize,1);
DANKE!
NespkrSpain
17-06-2024 11:41,
Hallo, wie mache ich eine Doppelrunde auf 1 Dezimalstelle? if (Boost == true) { Lots = (LotSize (LotSize/2)); } Wenn ich LotSize als 1,5 verwende, wäre Lots gemäß der obigen Formel 2,25. Ich möchte, dass Lots auf eine Dezimalstelle gerundet wird, also 2,3. Wie mache ich das?
Losgröße =
http://docs.mql4.com/convert/NormalizeDouble(LotSize,1);
Hallo,
if (Boost == true)
{
Lose = (Losgröße (Losgröße/2));
}
Wenn ich LotSize als 1,5 verwende, wäre Lots gemäß der obigen Formel 2,25.
Ich möchte, dass Lots auf eine Dezimalstelle gerundet wird, was 2,3 entspricht
Wie mache ich das?
Powered by vBulletin® Version 4.2.5 Copyright ©2026 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.