Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi Batchmove und Decimal = Error ? (https://www.delphipraxis.net/108770-batchmove-und-decimal-%3D-error.html)

DataCool 19. Feb 2008 13:08

Re: Batchmove und Decimal = Error ?
 
Ich geb's auf !

Selbst wenn ich :

Delphi-Quellcode:
  SourceTable.FieldDefs[index].DataType := ftFloat;
  //..
  dZahl := SourceTable.Fields[index].AsFloat;
  strZahl := SourceTable.Fields[index].AsString;
Wird aus 123,45 immer 123 auch beim String !!!
Der einzige Weg den Wert hinterm Komma zu bekommen ist,
indem direkt ohne BDE connected.

Gruß Data


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:00 Uhr.
Seite 2 von 2     12   

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-2025 by Thomas Breitkreuz