jeudi 26 avril 2012

Round Up function


static void RoundUpFunction()
{
    info(num2expstr(roundUp(3.2 ,0.5)));
    info(num2expstr(roundUp(3.2 ,0.1)));
    info(num2expstr(roundUp(3.2 ,0.3)));
    info(num2expstr(roundUp(3.2 ,0.7)));
    info(num2expstr(roundUp(6.7 ,15)));
    info(num2expstr(roundUp(6.7 ,1)));
    info(num2expstr(roundUp(3.2 ,3.5)));
    info(num2expstr(roundUp(3.2 ,1)));
    info(num2expstr(roundUp(3.2 ,2)));
    info(num2expstr(roundUp(3.2 ,3)));
    info(num2expstr(roundUp(3.2 ,4.2)));
}



Aucun commentaire:

Enregistrer un commentaire