Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace PracticeFloatingPointNumbers
- {
- class MainClass
- {
- public static void Main(string[] args)
- {
- decimal num1 = 3.141592653589793238m;
- double num2 = 1.60217657;
- decimal num3 = 7.8184261974584555216535342341m;
- Console.WriteLine(num1);
- Console.WriteLine(num2);
- Console.WriteLine(num3);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement