how to convert double to int unity c# code example Example: c# convert double to int double someDouble = 12323.2; int someInt = (int)someDouble;