Jump to content

Roman numerals/Decode: Difference between revisions

m
(J)
Line 6:
=={{header|J}}==
 
<lang j>rom2d=: [: (+/ .* _1 _1^ 0,~2 2</\ ]) 1 5 10 50 100 500 1000 {~ 'IVXLCDM'&i.</lang>
 
Example use:
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.