cancel
Showing results for 
Search instead for 
Did you mean: 

How convert number field (floating) to text

Former Member
0 Kudos

I have this field number. When I use function Cstr or ToText, alway display on reporte on floating format. Ex. 5e+018. How I do display real number 512121221458478514.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I had a similar issue before. So i discussed that in the same forum, Here is the conclusion i got.

Crystal reports is built with C++ and the numeric field type used is limited to 15 digits plus 1 for the sign of the number.

Only option is to use a stored procedure and break that field into 2 parts and put them back together in a text object by

dropping the fields in next to each other.

And here is the LInk:

Regards,

Salah

Answers (2)

Answers (2)

Former Member
0 Kudos

try quotes..."512121221458478514"

HTH,

Jyothi

Former Member
0 Kudos

Just a guess here, but did you try


cstr({number},"0")

?

HTH,

Carl