Roman numerals/Decode: Difference between revisions
Content added Content deleted
imported>Arakov |
|||
Line 2,876: | Line 2,876: | ||
=={{header|Elena}}== |
=={{header|Elena}}== |
||
ELENA |
ELENA 6.x : |
||
<syntaxhighlight lang="elena">import extensions; |
<syntaxhighlight lang="elena">import extensions; |
||
import system'collections; |
import system'collections; |
||
import system'routines; |
import system'routines; |
||
import system'culture; |
|||
static RomanDictionary = Dictionary.new() |
static RomanDictionary = Dictionary.new() |
||
Line 2,895: | Line 2,896: | ||
{ |
{ |
||
var minus := 0; |
var minus := 0; |
||
var s := self. |
var s := self.toUpper(); |
||
var total := 0; |
var total := 0; |
||