2015-03-31 24 views

回答

2

您可以只投它

float f = (float) millisUntilFinished; 

,但請記住,long可以容納更大的值是float,因此對於大的值,這將是不可能的。