You are here

public function TocFormatterInterface::convertNumberToRomanNumeral in TOC API 8

Convert a number to a roman numeral.

References

Parameters

int $number: A number.

Return value

string The number converted to a roman numeral.

1 method overrides TocFormatterInterface::convertNumberToRomanNumeral()
TocFormatter::convertNumberToRomanNumeral in src/TocFormatter.php
Convert a number to a roman numeral.

File

src/TocFormatterInterface.php, line 61

Class

TocFormatterInterface
Provides an interface defining a TOC formatter.

Namespace

Drupal\toc_api

Code

public function convertNumberToRomanNumeral($number);