When i write for example 7,3 or 7,30 the intended result is 7,5 and this works fine until 7,49 but when i reach 7,5 the added decimal part somehow becomes negative and the result makes even less sense which is 7,16666666666667
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
With Target
.Value = CInt(.Value) + ((.Value - CInt(.Value)) / 0.6)
End With
Application.EnableEvents = True
End Sub
What is happening...