Adds two specified Decimal values.
Imports System
Imports Microsoft.VisualBasic
Module DecimalAddSubOpsDemo
Sub ShowDecimalSumDiff( Left as Decimal, Right as Decimal )
Console.WriteLine(Decimal.op_Addition( Left, Right ) )
Console.WriteLine(Decimal.op_Subtraction( Left, Right ) )
End Sub
Sub Main( )
ShowDecimalSumDiff( 123456789.0123456789D,123456789.1123456789D )
End Sub
End Module
Related examples in the same category