Class Sample Public Shared Sub Main() Console.WriteLine(Convert.ToDecimal(2010.12R)) Console.WriteLine(Convert.ToDecimal(2010.2010R)) End Sub 'MainEnd Class 'Sample