In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Not Able to Print Big Number

FastReport for Xailer & [x]Harbour (English/Spanish)
Responder
Milan Mehta
Mensajes: 132
Registrado: Dom Dic 27, 2009 9:54 am

Not Able to Print Big Number

Mensaje por Milan Mehta »

Dear Sir,

I am trying to Print a number 2920687188 it prints -1374280108. I am using default %2.2f display format.
Can you suggest me proper display format so that it prints properly.

TIA
Milan.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9243
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: Not Able to Print Big Number

Mensaje por ignacio »

Milan Mehta escribió:Dear Sir,

I am trying to Print a number 2,920,687,188 it prints -1374280108. I am using default %2.2f display format.
Can you suggest me proper display format so that it prints properly.

TIA
Milan.
Hello,

It is a numeric type problem. Integer number (without decimal point) are always treated as long. That number exceeds its maximum value which is 2,147,483,647. We are working on the fix. In the mean time I recommend to convert it into string.

Regards
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9243
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: Not Able to Print Big Number

Mensaje por ignacio »

Problem fixed. It will available on next Xailer release (next week)

Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Milan Mehta
Mensajes: 132
Registrado: Dom Dic 27, 2009 9:54 am

Re: Not Able to Print Big Number

Mensaje por Milan Mehta »

Thanks Ignacio. We are eagerly awaiting the new release.

Milan.
Responder