MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / numeral

Struct numeral

conversion/romantoint.go:17–20  ·  view source on GitHub ↗

numeral describes the value and symbol of a single roman numeral

Source from the content-addressed store, hash-verified

15
16// numeral describes the value and symbol of a single roman numeral
17type numeral struct {
18 val int
19 sym string
20}
21
22// lookup array for numeral values sorted by largest to smallest
23var nums = []numeral{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected