abs
函數原型:int abs(int n);
參數:要轉換的數字。
所需標頭檔: math.h
功能:返回參數 n 的整數絕對值。
fabs
函數原型:float fabs(float n);
功能:返回參數 n 的浮點數絕對值。
23 11.96