min()

C 에디터 명령어 ›› Math ››
Parent Previous Next

두 숫자중 작은 숫자를 반환합니다.


사용방법

min(num1, num2)


리턴값

둘중 작은 숫자


사용 예

sensVal = min(sensVal, 100); //둘중 작은 숫자가 리턴되므로 변수 값이 최대 100으로 제한된다.

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites