how to parse double into int code example Example: convert double to int java double data = 3452.345 int value = (int)data;