roman

package
v0.0.0-...-a95355e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2022 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ErrMaxValue = ConversionErr("maximum arabic value to represent in roman system is 3999")

Variables

This section is empty.

Functions

func ConvertToArabic

func ConvertToArabic(roman string) (total uint16)

func ConvertToRoman

func ConvertToRoman(arabic uint16) (string, error)

Types

type ConversionErr

type ConversionErr string

func (ConversionErr) Error

func (c ConversionErr) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL