Skip to content

conversion-library / intToRoman

Function: intToRoman()

ts
function intToRoman(num: number): string

intToRoman

version: v0.0.11+

Parameters

num: number

输入整数

Returns

string

返回罗马数字字符串

Example

ts
intToRoman(3749)
// MMMDCCXLIX

Defined in

lib/intAndRoman.ts:17