Question

The online documentation promises this

  probe to-money 123
  $123.00

http://www.rebol.com/r3/docs/datatypes/money.html

I get this

  probe to-money 123
  $123
Was it helpful?

Solution

The documentation you see is a copy of R2 documentation. It still does not reflect the current state in R3.

In R3 you can have both $123 as well as $123.00, have you tried?

This looks like a more accurate documentation:

http://www.rebol.net/wiki/Money

OTHER TIPS

>> round/to to money! 123 $.01
== $123.00
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top