Conversions can be done either with the "->" conversion operator or with the equivalent "convert" function. The function has three parameters: a quantity, a unit to convert from and a unit to convert to. Likewise the conversion operator uses three values: the quantity and unit to convert from are placed on the left side of the operator while the unit to convert to goes to the right side.
The basic unit of radiation dose absorbed is the gray. All units of radiation dose absorbed are expressed in terms of this base unit and so measurements can be converted from any one of the following units to any other.
10 gray -> RD = 1,000
convert(10; gray; rd) = 1,000
10 gray -> REP = 10.752688
convert(10; gray; rep) = 10.752688
10 RD -> gray = 0.1
convert(10; RD; gray) = 0.1
10 rep -> gray = 9.3
convert(10; Rep; gray) = 9.3
10 RD -> REP = 0.1075269
convert(10; rd; rep) = 0.1075269
10 rep -> rd = 930
convert(10; REP; RD) = 930