android convert float to int

www.‮.iruttual‬com
android convert float to int
// f is a float number
float f = 3.1415
int i = Math.round(f);
Created Time:2017-08-31 16:33:47  Author:lautturi