Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.