double d; int i; i = (int)d; i = int(d); i = static_cast<int>(d);
i = (int)d; i = int(d); i = static_cast<int>(d);