Tema: Decimales
Ver Mensaje Individual
  #2  
Antiguo 22-06-2003
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Reputación: 10
marcoszorrilla Va por buen camino
El asunto viene por aquí:

Specifies the number of digits of accuracy used to store the field value.

property Precision: Integer;

Description

Precision can be a value between 0 and 32. However, because TBCDField uses the Currency type to work with data from BCD fields, TBCDField limits the precision of the BCD values it can support to 4 decimal places and 20 significant digits. The underlying database table may include values that require greater precision, and setting precision to a value greater than 20 allows you to create a table with higher precision.


Yo cambiaría el campo a tipo numérico y me olvidaría del tema, puesto que como numérico te va a funcionar sin ningún problema.

Un Saludo.

Responder Con Cita