In my Kid templates I do some math on some model variables passed in.

It appears some SQLObject numbers are treated as Decimal objects which
gives errors when I try to multiply them by ints.

I solved this problem by casting Decimal variables down to floats.

Is this the recommended way to handle this?
(I noticed I didn't get this error in an older version of TurboGears.
I guess this error is a good thing or does it go away in a newer TG
version?)


Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to