Split decimal variable into integral and fraction parts January 7, 2024 by Tarik decimal fraction = (decimal)2.78; int iPart = (int)fraction; decimal dPart = fraction % 1.0m;