module RomanNumerals

Overview

Allows you to convert between roman and arabic numerals

Defined in:

RomanNumerals.cr

Constant Summary

VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.convert(number : String) : Int32 #

Converts Roman to Arabic Numerals


[View source]
def self.convert(n : Int32) : String #

Converts Arabic to Roman Numerals


[View source]
def self.isValid(number : String) : Bool #

Checks if the string is a valid roman numeral


[View source]