|
Last changed Oct 28, 2008 23:22 by Arun Batchu
Labels: orbeon, xforms, error, tip, workaround, calculate Discovered what appears to be a problem in calculating big decimals (greater than 1,000,000 ). I have a requirement where the total is a sum of all line items. Each of the $ amounts on the line items is an xs:decimal . The sum is also a decimal. When the sum is greater than 1,000,000, [Orbeon] seems to store the result in an exponential format (e.g. 1.000000E6). This representation is invalid for an xs:decimal (the pink background is a style applied to invalid fields).
If you want to format a number such as 8988981.00 to look like 8,988,981.00, you would do it like this:
I was reviewing eXist documentation today. Ran into an article on how you can check for code quality using the http://pmd.sourceforge.net/ . What struck me was that you can express the checking rules in Java as well as XPath. The reason I am excited about the latter style is because recently I have been realizing that XPath has precise and very concise expressive power. Since OO classes exhibit an inherent inheritance either through Type hierarchy or composition,... If you noticed, the font "family" has changed to the one used by New York Times - I like its Typography which uses a Serif font. Its a hack but will do for now since it is a one word change. In the default-theme.css file in your confluence directory, change the "helvetica" font-family css rule to "Georgia" ....should look like this:
...according to MSN Live Search. Actually Bath and Body Works is one better. Surprised, I used Google to query - and I got less colorful results back - pretty much what I wanted.
Last changed Sep 25, 2008 09:43 by Arun Batchu
Labels: agile, thinking, learning, science, technology, teaching My dear friend SohamDesai took my kids recently to a science fair at the University of Minnesota. When the kids came back I discovered a leaflet by a group called BEST. I am so glad I looked it up - the leaflet talked about the group (Bridging Engineers Science and Technology) - this is exactly what we as a software development community need. We gotta get back to the "fundas". Check this out : http://www.bestoutreach.org/resource/purpose.pdf . I love it!... Apparently my style of "microblogging" is all the rage now: lookup http://twitter.com and http://yammer.com . Use output element for showing images in XForms. Here is how you render an image when you have a URL for an image: That should render this picture: Give a fish - you feed for a day; Teach to fish - you feed for a lifetime. Learning to learn is more important than learning itself. Anything that shines new light on How we learn captures my attention. One such project (thanks http://ted.com !) is the http://hole-in-the-wall.com project - an interesting experiment. |
Twitter Updates
|
||||||||||||||||||||||||||||||||||||||||||||||||
!...



Add Comment