1) We will adopt ICU's formatting template for numeric formats 2) We'll roll our own to start with.
#1 makes sense--we have to use something, and since we're linking in ICU but not postgres it makes sense to use the ICU format. I've some qualms about it since the numeric formatting seems a bit sub-par (no star or user-specified fill characters, no CR/DB or parens for alternate positive/negative notation) but it'll do, I think. At least it lets us skip nasty locale things.
#2 is in part because we're not linking in ICU at the moment (it doesn't even build on latest-sarge debian installs) and in part because I don't want to yank in all of ICU just to be able to turn 45523.4 into " $45,523.40".
The op will be:
format Sx, [INP]y, [SP]z
The initial cut will likely not be at all locale-aware, but the docs will promise that it is.
--
Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk