qadeer37
Well-known member
Private m_HolderName As String
Private m_Balance As Decimal
Private m_Dat As Date = Now
Private m_Intrest As Decimal = CType(m_Balance * 0.1, Decimal)
Private Sub AddIntrest()
'If date is now + 1 month add m_intrest to it
m_Balance += m_Intrest
End Sub
Confused that this approch is correct or not.
Private m_Balance As Decimal
Private m_Dat As Date = Now
Private m_Intrest As Decimal = CType(m_Balance * 0.1, Decimal)
Private Sub AddIntrest()
'If date is now + 1 month add m_intrest to it
m_Balance += m_Intrest
End Sub
Confused that this approch is correct or not.