Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

number problem

Former Member
0 Kudos

Hi

if a , b are type of

a type p decimals 1 ,

b type p decimals 1 ,

and now when i do addition

a = b + 7.5 .

it gave me error

Statement "5" is not defined. Please check your spelling.

Regard Nutan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

write the statement like this..

a = b +' 7.5' .

4 REPLIES 4

Former Member
0 Kudos

write a = b + '7.5'.

reqward if helpful

Former Member
0 Kudos

hi nutan

instead of dot use comma

like

a = b + 7,5.

i think it must work.

cheers

snehi chouhan

Former Member
0 Kudos

Hi

write the statement like this..

a = b +' 7.5' .

0 Kudos

Hi,

I think if something solves the problem then points should be given accordingly, since my answer certainly would have solved your problem, so rewarding with helpful answer doesnot show a good gesture.