From: Colin P. A. <co...@co...> - 2008-02-15 12:25:43
|
I found a bug in Gexslt, which was due to not enough digits in an MA_DECIMAL. So I changed from using {MA_DECIMAL_TEXT_PARSER}.parse to {MA_DECIMAL_TEXT_PARSER}.parse_ctx, supplying a context created using: create l_ctx.make (a_priority_attribute.count, round_half_up) (a_priority_attribute) is the string I want to parse as a decimal, so this sounds like a safe way of not losing any information from the string. However, I still get the same bug. When i started to debug, I find that {MA_DECIMAL_TEXT_PARSER}.parse_ctx is ignoring the passed context and just using the shared decimal context. I'm assuming that was just a copy-and-paste error? -- Colin Adams Preston Lancashire |