Rebol Programming/Rebol2 money datatype

Every Rebol2 money value consist of two parts: currency code (can be empty) and a numeric value of the decimal! type.

The parts can be obtained as follows:

; define a money value
>> x: USD$1
== USD$1.00
; access its currency code
>> x/1
== "USD"
; access its numeric value
>> x/2
== 1.0