on 02-27-2008 9:14 AM
Hello friends,
I developed smartforms for sales invoice in that i want to add VAT% in pricing condition, so for this purpose i used formula as given below.
var1 = <VAT AMOUNT> * <VAT%> / 100
when i am using VAT% like 12.5% error is coming statement "5" is not defined check your spelling. so what will be the possible solution for this error. Please reply as soon as possible.
Thanx & regards,
Rahul Talele
hi Rahul,
Put Bracket like this ,
var1 = ( <VAT AMOUNT> * <VAT%> ) / 100
Thanx
bgan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Change the data type of the vat% and var1 as Float.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Or you can do one thing.
Make your VAT% in to one variable ie.,
Per = Vat%*100.
When you are doing main calculation instead of VAT% use
Per/100.
I think this will solve your problem.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.