Math.Round(new FileInfo(strFilePath).Length / 1024, 1) Math.Round(new FileInfo(strFilePath).Length / 1024.0, 1) Math.Round(new FileInfo(strFilePath).Length / 1024d, 1) Math.Round((double) new FileInfo(strFilePath).Length / 1024, 1)