Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class PracticeFloatingPointNumbers
- {
- static void Main()
- {
- decimal deExample = 3.141592653589793238m;
- double dExample = 1.60217657d;
- decimal deExample2 = 7.8184261974584555216535342341m;
- System.Console.WriteLine(deExample);
- System.Console.WriteLine(dExample);
- System.Console.WriteLine(deExample2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement