MCPcopy Index your code
hub / github.com/codeaashu/claude-code / numberToRoman

Function numberToRoman

src/utils/markdown.ts:336–345  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

334]
335
336function numberToRoman(n: number): string {
337 let result = ''
338 for (const [value, numeral] of ROMAN_VALUES) {
339 while (n >= value) {
340 result += numeral
341 n -= value
342 }
343 }
344 return result
345}
346
347function getListNumber(listDepth: number, orderedListNumber: number): string {
348 switch (listDepth) {

Callers 1

getListNumberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected