You've got use Price_calc twice. Probably don't want the first one.
You're not capturing the return value of Price_calc::get_ama($amastringsent);.
The last line of your package Price_calc; should be 1; (actually, it can be any true value but most people just use a one).
-- Ken
In reply to Re: Returning the value generated in package/module problem
by kcott
in thread Returning the value generated in package/module problem
by Monkomatic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |