1 2 3 4 5 6 7 8 910111213141516
x = 1.5; y = -1.5; a = Ceil(x); //2 b = Ceil(y); //-1 Mes("1.5 -> {a};-1.5 -> {b}"); a = Floor(x); //1 b = Floor(y); //-2 Mes("1.5 -> {a};-1.5 -> {b}"); a = Trunc(x); //1 b = Trunc(y); //-1 Mes("1.5 -> {a};-1.5 -> {b}");