Advertisement
miroLLL

FloatingPointNumbers

Sep 2nd, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. using System;
  2.  
  3. class PracticeFloatingPointNumbers
  4. {
  5.     static void Main()
  6.     {
  7.         decimal deExample = 3.141592653589793238m;
  8.         double dExample = 1.60217657d;
  9.         decimal deExample2 = 7.8184261974584555216535342341m;
  10.         System.Console.WriteLine(deExample);
  11.         System.Console.WriteLine(dExample);
  12.         System.Console.WriteLine(deExample2);
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement