Skip to the content.

Roman

Code Coverage Go Reference

Convert Numbers to Roman numerals.

Usage

package main

import (
	"fmt"
	"github.com/UltiRequiem/roman"
)

func main() {
	roman, _ := roman.ConvertToRoman(33)

	fmt.Println(roman) //=> XXXIII

        fmt.Println(roman.ParseRoman("XXXIII")) //=> 33
}

It includes other helper methods, check the docs.

Documentation

Is hosted on Go Doc πŸ“„

Support

Open an Issue, I will check it a soon as possible πŸ‘€

If you want to hurry me up a bit send me a tweet πŸ˜†

Consider supporting me on Patreon if you like my work πŸ™

Don’t forget to star the repo ⭐

Authors

Eliaz Bobadilla - Creator and Maintainer πŸ’ͺ

See also the full list of contributors who participated in this project ✨

Versioning

We use Semantic Versioning. For the versions available, see the tags 🏷️

Licence

Licensed under the MIT License πŸ“„