Hey guys, I'm considering using userpoints_ubercart +uc_store_credit as user credit balance, so user can buy ubsercart goods using his userpoints.
But userpoints 6.x doesn't support float values! it's just integers.
does that mean that everyone is just trying to apply http://drupal.org/node/417830 patches? or may be other solutions are available? (I don't like hacking modules)
Thanks in advance!

Comments

bmagistro’s picture

It's been awhile since I've interacted with the code but I going through stuff again. If I remember right I handled it by rounding to the nearest whole number. The php function should be ceil, can be found here http://php.net/manual/en/function.ceil.php if you are interested in how that works.

bmagistro’s picture

Status: Active » Closed (fixed)

Closing, considering issue resolved as there has not been any activity.

vantuykom’s picture

Status: Closed (fixed) » Active

I need float too on ubercart userpoints