Hi list,
I don't really know where to look for, but here's my issue:
I've got a calculation based on the number (int) of product in stock.
This calculation should lead to negative number sometimes, for
example, if I have a product A which was sold 6 times, if the stock
is 0, the calculation should give -6...but it gives 6?!
Here's a snippet:
--------
quantity available of product A: 0
quantity requested: 6
virtual stock calculation = "quantity available" - "quantity requested"
--------
This should give -6 but not.
I printed the step to the log to see if it was a number formatting
issue in my wocomponent, but it also displays 6 instead of -6 in the
log.
Any pointer?
Thanks
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]