It's me again and since eyoung100 was the only person to reply to my last post, I hope you're checking in real soon.

I'm writing a code to calculate commission based on a sales amount input by the user at .05 rate. I calculate a bonus commission for sales over $2,500. My program is not calculating the bonus commission correctly. It's calculating using the formula for the regular commission. The code uses a base class that I created and an inherited class. I think my problem is in the way I'm writing the formula (I typed the formula in bold print) but I can't figure out what it is. I'm including my code from the class file. Hopefully someone can help me.

' base class
Public Class Commission
Public Property SalesId As String
Public Property Sales As Double

Public Sub New()
_SalesId = String.Empty
End Sub

Public Sub New(ByVal Sales As Double)
Sales = 0
End Sub

Public Overridable Function GetCommission() As Double
' calculates a salesperson's commission
Return Sales * 0.05
End Function
End Class

' derived class
Public Class BonusCommission
Inherits Commission

Public Sub New()
MyBase.New()
End Sub

Public Sub New(ByVal Sales As Double)
MyBase.New(Sales)
End Sub

Public Overrides Function GetCommission() As Double
Return MyBase.GetCommission + (Sales - 2500) * 0.01
End Function
End Class