Option Explicit 'CURRENCY 8 octets Un entier scalaire compris entre – 922 337 203 685 477,5808 et 922 337 203 685 477,5807. 'The Currency data type is useful for calculations involving money and for fixed-point calculations in which accuracy is particularly important. Private Sub Command1_Click() Dim N4 As Currency Dim N6 As Currency N4 = Val(Text1.Text) N6 = Euros(N4) Text1.Text = Str(N6) End Sub
Option Explicit 'CURRENCY 8 octets 'Un entier scalaire compris entre ' -922 337 203 685 477,5808 et 922 337 203 685 477,5807. 'The Currency data type is useful for calculations 'involving money and for fixed-point calculations 'in which accuracy is particularly important. Private Sub Command1_Click() Dim N4 As Currency Dim N6 As Currency N4 = Val(Text1.Text) N6 = Euros(N4) Text1.Text = Str(N6) End Sub
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question