abs()

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

숫자의 절대값을 반환한다.


사용방법

abs(num)


리턴값

num이 0보다 작을 경우 : -num


num이 0보다 클 경우 : num

Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator