macht mal ein Form mit einem Textcontrol (Text1) und versucht mal folgenden Code:
Option Explicit
Private Sub Form_Load()
Dim X As Double
X = 5.03
Text1.Text = X - 5
End Sub
Da sollte doch eigentlich 0.03 bei rauskommen, bei mir ergibt das aber 3,00000000000002E-02.
VB6 SP4
hat jemand eine Erklärung dafür??