Just a totally off the top of my head guess, but what happens if you change it to:
my $prices=0.0; my $others=0.0;
I was just thinking that Win32::OLE() might have trouble telling how an undef SV should be converted.
In reply to Re: Win32::OLE Type for VB's "As Single"
by demerphq
in thread Win32::OLE Type for VB's "As Single"
by davemabe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |