Convert.ToDecimal (Double) converts double number to an equivalent decimal number.
Class Sample Public Shared Sub Main() Console.WriteLine(Convert.ToDecimal(2010.12R)) Console.WriteLine(Convert.ToDecimal(2010.2010R)) End Sub 'Main End Class 'Sample