From: Colin A. <col...@go...> - 2008-01-07 14:11:59
|
On 07/01/2008, Eric Bezault <er...@go...> wrote: > > Colin Adams wrote: > > > But the code is shared by xsl:number (as the formatting rules are > > defined to be the same), which might format any number. > > And is it that much code duplication to implement the formatting > rules both for an INTEGER and for a MA_DECIMAL as input? Unfortunately, yes, it is (I did have a look into this). What is more, it will get worse in the future - so far there is only an English language version. There will be more. It sounds to me as if because when written to a file an integer > and a decimal look the same we should first convert INTEGERs to > MA_DECIMALs when passing them to class FILE. Now you've lost me. |