From: ryan r. <d_...@ho...> - 2010-08-23 13:09:43
|
Exactly the reference I was looking for and couldn't find, thanks. Date: Sat, 21 Aug 2010 17:05:35 +0800 > From: Patrick Nagel <ma...@pa...> > Subject: Re: [Semediawiki-user] number seperators > To: sem...@li... > Message-ID: <201...@pa...> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Ryan, > > On 2010-08-20 19:09 UTC ryan robinson wrote: > > I can't seem to find a method in the documentation to omit the use of > > the Smw_kiloseparator. I can simply remove that value, but that means I > > would be unable to restore the separator for cases where it is desired. > > You can tell #ask to print the value unformatted (called "plain printouts") > in > some queries (see [1]), and with formatting in others. > > When you do calculations on values (via {{#expr: ...}} etc.) though, you > should obviously always use plain printouts as input for the calculation. > If > you want formatted numbers after that calculation, you can use the > NumberFormat extension [2], which I wrote for that purpose. > > Patrick. > > [1] http://www.semantic- > > mediawiki.org/wiki/Help:Displaying_information#Plain_.28unformatted.29_printouts > [2] http://www.mediawiki.org/wiki/Extension:NumberFormat > > |