Trường · Roman Numeral

Trường · Roman Numeral · number.romanNumeral. Phương thức tạo · Ví dụ

number.romanNumeral

Cài đặt trình tạo

Tạo dữ liệu để xem kết quả ở đây.

Tham số & Ví dụ

Returns a roman numeral in String format. The bounds are inclusive.

number.romanNumeral(options?: number | { min?: number; max?: number; })
options
Maximum value or options object.
options.min
Lower bound for generated roman numerals. Defaults to 1.
options.max
Upper bound for generated roman numerals. Defaults to 3999.

Ví dụ

"MMDCLXXII"

Dùng dữ liệu tổng hợp trong môi trường kiểm thử.

Trình tạo liên quan

Khám phá kịch bản