diff options
Diffstat (limited to '')
-rw-r--r-- | cs-dotnet/src/tests/ints.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cs-dotnet/src/tests/ints.cs b/cs-dotnet/src/tests/ints.cs index 7099995..766b667 100644 --- a/cs-dotnet/src/tests/ints.cs +++ b/cs-dotnet/src/tests/ints.cs | |||
@@ -1,4 +1,5 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Globalization; | ||
2 | using System.IO; | 3 | using System.IO; |
3 | using Com.Xagasoft.Gats; | 4 | using Com.Xagasoft.Gats; |
4 | 5 | ||
@@ -11,5 +12,7 @@ class Ints | |||
11 | GatsObject obj = GatsObject.Read( file ); | 12 | GatsObject obj = GatsObject.Read( file ); |
12 | Console.WriteLine("Read type: " + obj.GetType() ); | 13 | Console.WriteLine("Read type: " + obj.GetType() ); |
13 | Console.WriteLine("Read int: " + ((GatsInteger)obj).Value ); | 14 | Console.WriteLine("Read int: " + ((GatsInteger)obj).Value ); |
15 | |||
16 | Console.WriteLine("Float? " + double.Parse("0x1.62e42fefa39efp+2") ); | ||
14 | } | 17 | } |
15 | } | 18 | } |