What assigns a value to foo that is closest to, but not greater than, a double value bar? 注:哪一项赋一个最接近但不大于 bar的 值给 foo
A.
int foo =(int)Math.max(bar);
B.
int foo =(int)Math.min(bar);
C.
int foo =(int)Math.abs(bar);
D.
int foo =(int)Math.ceil(bar);
E.
int foo =(int)Math.floor(bar);
F.
int foo =(int)Math.round(bar);