![]() |
Feldtyp BCD - Was ist das?
Was für eine Art von Feld ist ein BCD-Feld??? :?:
|
Re: Feldtyp BCD - Was ist das?
'business conditions digest'
brauchst du aber nur wenn du was kaufmännisches machst. (fibu-programme, witschaftl. rechnen etc) edit: mann, mann, mann... die rechtschaibunk 8) |
Re: Feldtyp BCD - Was ist das?
Klingt logisch. Ist ein Feld in einer Tabelle aus einer Datenbank welche in einem Wirtschaftwarensystem drin ist. Kann man Float felder ohne Probleme in ein BCD schreiben? :?:
|
Re: Feldtyp BCD - Was ist das?
Hallo General2003,
hier mal eine Erklärung aus der Hilfe der Datenbankoberfläche Version 7.0. Zitat:
|
Re: Feldtyp BCD - Was ist das?
Zitat:
![]() |
Re: Feldtyp BCD - Was ist das?
Das komische ist das das Feld mit SQL-Statement angelegen wird
"VK_PREIS_EINZEL" fixed (38,20) DEFAULT 0, Delphi erkennt das als ftBCD, und der Inhalt soll in ein Floatfeld geschrieben wenn. Geht das? |
Re: Feldtyp BCD - Was ist das?
Hi
das ganze ist eine binär codierte Zahl (BCD), aber im Gegensatz zu einer Byte oder Word oder Interger formatierten Zahl in Vierergruppen angelegt. Als Beispiel: 129 als Byte wäre das 1000 0001 129 als BCD wäre das 0001 0010 1001 1 2 9 in jedem Viererblock steht eine Dezimalstelle. Real da reinzuschreiben gibt nichts als Schrott, es sei denn man kennt die Stelle an der das Komma steht. Kapiert? ketraun |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:13 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz