Skip to Content
author's profile photo
Former Member

QUAN to DEC

Hi,

I am trying to assign a QUAN13 variable to DEC3.

But I get an overflow exception!

Do I need to use a conversion routine??? 😕

thnx,

CS

PS: Sorry for the novice question.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Jul 07, 2004 at 11:30 AM

    Hi there,

    You are basically trying to get a number with a length of 13(Quan13) into a variable which only has space for 3 numbers(DEC3). So basically it is telling you that it wont fit. Regarding a convertion routine it would depend on what conversion you would wont to do to fit it into a field of size 3.

    Just incase you ment to put DEC13 then the reason for the error might be down to the number of decimal places.

    Add comment
    10|10000 characters needed characters exceeded