Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

formatting money

 [1/4] from: carlos::lorenz::gmail::com at: 29-Dec-2004 17:52


Hi list I'd like to print R$ 1.500,00 (the way we use in Brazil) instead of both ways REBOL gives us natively: R$1500,00 or R$1'500,00. Any ideas? -- *:-.,_,.-:*'``'*:-.,_,.-: Carlos Lorenz *:-.,_,.-:*'``'*:-.,_,.-:

 [2/4] from: SunandaDH:aol at: 29-Dec-2004 14:57


Carlos:
> Any ideas?
Check out some of the pretty printers for numbers: http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlDTLK Sunanda.

 [3/4] from: volker:nitsch::gmail at: 29-Dec-2004 21:20


On Wed, 29 Dec 2004 17:52:31 -0200, Carlos Lorenz <[carlos--lorenz--gmail--com]> wrote:
> Hi list > > I'd like to print R$ 1.500,00 (the way we use in Brazil) instead of > both ways REBOL gives us natively: R$1500,00 or R$1'500,00. > > Any ideas? >
!>> replace/all "R$1'500,00" "'" "." == "R$1.500,00" But how do you output with the "'"? I only get "R$1500.00". (never tried formating).
> -- > *:-.,_,.-:*'``'*:-.,_,.-:
<<quoted lines omitted: 3>>
> To unsubscribe from the list, just send an email to rebol-request > at rebol.com with unsubscribe as the subject.
-- -Volker Any problem in computer science can be solved with another layer of indirection. But that usually will create another problem. David Wheeler

 [4/4] from: carlos:lorenz::gmail at: 30-Dec-2004 11:35


This is it Volker, thanks

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted