Extensions..::..ToRoman Method

Converts an integer to a Roman numeral

Namespace:  AngbandOS.Core
Assembly:  AngbandOS.Core (in AngbandOS.Core.dll)

Syntax


public static string ToRoman(
	this int number,
	bool forGeneration
)

Parameters

number
Type: Int32
The number to convert
forGeneration
Type: Boolean
True if the number is the generation of a character

Return Value

The number as a Roman numeral