One of the fields in my class represents a price. I was initially
going to have this be a float. However, when I specified :type float
in my class, I find that I can't enter a value for that field. Any
input produces a message saying the value must be valid. The only way
to make it work is to not have a type specified.

Since this is money, I figured I'd give the instructions at
http://uint32t.blogspot.com/2008/04/weblocks-presentations.html a try.
This didn't work either, and it doesn't look like the code from that
link is even doing anything, since it still acts as before and doesn't
show dollar signs or anything. Perhaps that code is outdated.

What is the correct way to have a floating-point number in my class
and still be able to edit it from a form?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" 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/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to