CSharp examples for Language Basics:Float
Create float literal and do calculation on it
using System;// ww w. j a v a 2s . co m class DifferentMagnitudes { public static void Main() { float distance = 1234567000f; distance = distance - 5f; Console.WriteLine("New distance: " + distance); } }