English
Forum

Wrong Result at add great numbers (Kontonummern)

 

Torben
Nissen
Hi,
if I more numbers (in this drop Kontonummern) add, sustain I ex the 5. Kontonummer one Wrong (negative!) Result. up to four Kontonummern can without Problems add!
has of/ one a idea, Why the so is?

Download
external Download


here yet the code: (can but too runtergeladen go )
Declare A%,B%,C%,D%,E%,F%,Result%
A%=104000393
B%=639704881
C%=160085718
D%=866760200
E%=476333208
ergebnis%=A%+B%+C%+D%+E%'Korrektes Result: 2246884400
Cls
Print Result%'Angzeigtes Result: -2048082896
WaitInput

1 kB
Hochgeladen:02/05/12
Downloadcounter184
Download
 
02/05/12  
 




Dietmar
Horn
Hello Torben,

with such large numbers should You Float- instead of Integervariablen use.

so functions your example:
Declare A!,B!,C!,D!,E!,F!,Result!
A!=104000393
B!=639704881
C!=160085718
D!=866760200
E!=476333208
ergebnis!=A!+B!+C!+D!+E!'Korrektes Result: 2246884400
Cls
Set("Decimals",0)
Print Result!'Angzeigtes (korrektes) Result: 2246884400
WaitInput

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
02/05/12  
 




RGH
Torben Nissen (05.02.12)
has of/ one a idea, Why the so is?


Yes: Dü überschreitest here whom Wertebereich of/ one LongInt-variables (see Help).
remedy creates the employment of Float-variables, How Dietmar already vorschlug, or ex XProfan X2 The usage of QuadInt-variables.

However, I am not clear, wieso someone Kontonummern add ought to ...

Greeting
Roland
 
XProfan X2
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
02/05/12  
 




Torben
Nissen
Hello Dietmar,
many, many Thanks for your speedy Help!!! a lovely sunday yet!
Greeting
Torben
 
02/05/12  
 




Torben
Nissen
Hello Roland,
I work in a Program, the fällige guess (inkl. Kontonummern, BLZ etc.) of Abokunden in a so-called DTA-File save. on the end the File must z.B. any Kontonummern to check add go (Kontrollsumme). if it you / you interested, finds your Information to DTA-File this Page: [...] 
The customer must then The Bankdaten (fälligen guess) only still in its Bankingsoftware einspielen or can a floppy disk with the DTA-File with the bank to give away.
 
02/05/12  
 




Thomas
Freier
Yes already made and on the 4.,5. u. 6. Verwendungszweck The teeth ausgebissen.
The DTAUS can with [...] testing. whether with real data must eachone self know. comes Yes on the structure on.
 
Gruß Thomas
Windows XP SP2, XProfan X2
02/05/12  
 




Torben
Nissen
Hello Thomas,
I have it today finally geschafft, a "eigene" DTA-File To produce! yet mussten users of my "Abomanager"[...]  always one free Zusatzprogramm ("DTAUS-Macher") use, around the Bankdaten of Abomanager in a DTA-File zubekommen. I have different Testdateien online Verify let and any were fehlerfrei! (now works it too with the Kontrollsumme the Kontonummern )

greetings
Torben
 
02/05/12  
 




Thomas
Freier
A small trouble I had yet with my DAU. The forgot often whom Ausführungstermin, voreingestellt was System-Date, anzupassen, though it evident was, that The DTAUS not yet on the same day to bank coming. today hit I the 3.Werktag to Erstellungsdatum to. is now More Rechnerei because of the beweglichen holidays become, but something safer, that The DTAUS not abgelehnt becomes.
 
Gruß Thomas
Windows XP SP2, XProfan X2
02/05/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

16.437 Views

Untitledvor 0 min.
Walter03/09/19
Peter Max Müller01/27/17
Georg Teles01/24/17
p.specht05/21/15
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie