Code:
void OnStart()
{
//---
double TakeProfit0 = NormalizeDouble(10744.75,1);
double TakeProfit1 = MathCeil(10744.75);
double TakeProfit2 = MathFloor(10744.75);
double TakeProfit3 = MathRound(10744.75);
Alert(DoubleToString(TakeProfit0,3)," -:- ",DoubleToString(TakeProfit1,3)," -:- ",DoubleToString(TakeProfit2,3)," -:- ",DoubleToString(TakeProfit3,3));
Print(DoubleToString(TakeProfit0,3)," -:- ",DoubleToString(TakeProfit1,3)," -:- ",DoubleToString(TakeProfit2,3)," -:- ",DoubleToString(TakeProfit3,3));
}
//+------------------------------------------------------------------+