What is in this case Minimumlotsize ?

 
double NormalizeLots(double lots, string pair=""){
    if (pair == "") pair = Symbol();
    double  lotStep = MarketInfo(pair, MODE_LOTSTEP),
            minLot  = MarketInfo(pair, MODE_MINLOT);
    lots            = MathRound(lots/lotStep) * lotStep;
    if (lots < minLot) lots = 0;    // or minLot
    return(lots);
}

On one of my testing DEMO accounts I can not open a trade with lotsizes < 0.1

I can open a trade with lotsize for example 0.17 and close then 0.16 of it

The remaining 0.01 of the trade is there then still going on....

Normal Trading a place that way and then directly close is ofcours absurd because of the spread

printing out as comment DoubleToStr(minLot,2) is answering 0.10

DoubleToStr(lotStep,2) is answering 0.01

So in this case it is not needed if (lots < minLot) lots = 0; // or minLot

Is there something that with closing a part of the trade we can get inside the EA a value that it can be till 0.01 ??