Article View: be.comp.programming
Article #15688Re: grootste variabele in Visual Basic
From: Goofy
Date: Mon, 21 Aug 2000 00:00
Date: Mon, 21 Aug 2000 00:00
38 lines
1630 bytes
1630 bytes
Er is een, namelijk Decimal
Decimal 14 bytes
+/-79,228,162,514,264,337,593,543,950,335 with no decimal point;
+/-7.9228162514264337593543950335 with 28 places to the right of the
decimal;
smallest non-zero number is +/-0.0000000000000000000000000001
Let op:
Je kan bij de declaratie geen Decimal als data type opgeven alleen maar
converteren
FOUT = Dim decGetal as Decimal
Juist =
Dim varGetal1 As Variant
Dim varGetal2 As Variant
varGetal1 = 124566144154.474
varGetal2 = CDec(varGetal1)
MsgBox "Datatype van varGetal1 = " & TypeName(varGetal1) & vbCrLf & _
"Datatype van varGetal2 = " & TypeName(varGetal2)
Groetjes
--
Goofy
Bij het beantwoorden via e-mail
verwijder de -eatthis-
BuiZe <buize@buize.com> schreef in berichtnieuws
u25o5.154130$Fw6.3555648@afrodite.telenet-ops.be...
> Kijk in je VB help file bij de data type summary
>
>
Technical Details
Message-ID:
<Fe6o5.155167$Fw6.3558627@afrodite.telenet-ops.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39A0D7AF.27FB92EC@clearviewcc.com> <u25o5.154130$Fw6.3555648@afrodite.telenet-ops.be>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,b0f3fabcfa1c918 X-Google-Attributes: gidfcea4,public From: "Goofy" <goofy-eatthis-@yucom.be> Subject: Re: grootste variabele in Visual Basic Date: 2000/08/21 Message-ID: <Fe6o5.155167$Fw6.3558627@afrodite.telenet-ops.be> X-Deja-AN: 660648920 References: <39A0D7AF.27FB92EC@clearviewcc.com> <u25o5.154130$Fw6.3555648@afrodite.telenet-ops.be> X-Priority: 3 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: afrodite.telenet-ops.be 966848549 213.224.14.80 (Mon, 21 Aug 2000 11:02:29 MET DST) Organization: Surf2Disney X-MSMail-Priority: Normal NNTP-Posting-Date: Mon, 21 Aug 2000 11:02:29 MET DST Newsgroups: be.comp.programming