2012-01-25 52 views

回答

0

您的意思是modulo operation
尝试使用fmod()(不要忘记#IMPORT <tgmath.h>)

float val = fmod(700, 180); // val would be '160' 
相关问题