summary refs log tree commit diff
path: root/double2int/test/Program.cs
diff options
context:
space:
mode:
author1970-01-01 00:00:00 +0000
committer2025-01-08 04:24:44 +0000
commit72a21aece2e43b4ce50ed014b80488a543a86ccb (patch)
treeac0f12e4491dbdf843532829809a10ee8d90328f /double2int/test/Program.cs
parentio (diff)
downloadcs-72a21aece2e43b4ce50ed014b80488a543a86ccb.tar
cs-72a21aece2e43b4ce50ed014b80488a543a86ccb.tar.gz
cs-72a21aece2e43b4ce50ed014b80488a543a86ccb.tar.bz2
cs-72a21aece2e43b4ce50ed014b80488a543a86ccb.tar.xz
cs-72a21aece2e43b4ce50ed014b80488a543a86ccb.zip
double -> int
Diffstat (limited to 'double2int/test/Program.cs')
-rw-r--r--double2int/test/Program.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/double2int/test/Program.cs b/double2int/test/Program.cs
new file mode 100644
index 0000000..d0224e7
--- /dev/null
+++ b/double2int/test/Program.cs
@@ -0,0 +1,5 @@
+double d1 = 9.55;

+int i1 = (int)d1;

+

+Console.WriteLine(d1);

+Console.WriteLine(i1);
\ No newline at end of file