From bbf72ab0c76c282669d426c6d251a733ad8782d8 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 20 Jun 2012 12:03:10 +0200 Subject: [PATCH] Ox.formatRoman: add test --- source/Ox/js/Format.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/Ox/js/Format.js b/source/Ox/js/Format.js index 1e52cbf7..fa4ae0ef 100644 --- a/source/Ox/js/Format.js +++ b/source/Ox/js/Format.js @@ -637,8 +637,10 @@ Ox.formatRoman Formats a number as a roman numeral 'MDCCCLXXXVIII' > Ox.formatRoman(1999) 'MCMXCIX' - > Ox.formatRoman(2002) - 'MMII' + > Ox.formatRoman(2000) + 'MM' + > Ox.formatRoman(-1) + '' > Ox.formatRoman(0) '' > Ox.formatRoman(9.9)