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)));
}



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.