Skip to Content
0
Former Member
Mar 29, 2006 at 06:01 AM

Number Conversion Error

540 Views

Hi All,

In smartforms a variable is defined as;

v_gamng(13) type c

A query put's the following value in this variable;

v_gamng = 1,000.000

When I goto do a calculation it throws a error message;

The program attempted to interpret the value "1,000.000 " as a number, but

since the value contravenes the rules for correct number formats, this was not possible.

Then I declared the following variable;

v_gamng_n like afko-gamng

This is a numeric when I went to assign;

v_gamng_n = v_gamng.

Yet it thows the same above error message.

Thanks,

Kishan