Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.
/ roman Public archive

Package that can convert roman numerals to decimal

License

Notifications You must be signed in to change notification settings

n-vr/roman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roman

This package can convert roman numerals to decimal.

Install

go get github.com/n-vr/roman

Example usage

This a a simple go program that shows how to use this package.

import (
    "fmt"

    "github.com/n-vr/roman"
)

func main() {
    value, err := roman.RomanToDecimal("MMXXIV")
	if err != nil {
		panic(err)
	}

	fmt.Println(value)
}

About

Package that can convert roman numerals to decimal

Resources

License

Stars

Watchers

Forks

Languages