NedyalkoKikov

floatOrDouble

Nov 5th, 2015
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. using System;
  2.  
  3. class FloatOrDouble
  4.  
  5. {
  6. static void Main(string[] args)
  7. {
  8. double numberOne = 34.567839023;
  9. float numberTwo = 12.345f;
  10. double numberThree = 8923.1234857;
  11. float numberFour = 3456.091f;
  12. Console.WriteLine(numberOne);
  13. Console.WriteLine(numberTwo);
  14. Console.WriteLine(numberThree);
  15. Console.WriteLine(numberFour);
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment