Talk:Roman numerals/Encode: Difference between revisions

From Rosetta Code
Content added Content deleted
(New section: 400)
(Fixed negative numbers condition in Java)
Line 1: Line 1:
The Java example does not enforce the requirement that the parameter for the conversion function must be a positive integer. Enforcement of such a requirement should result in an error condition, such as an exception, rather than simply no output when a value less than 1 is passed to the function.--[[User:Waldorf|Waldorf]] 21:14, 31 March 2008 (MDT)
The Java example does not enforce the requirement that the parameter for the conversion function must be a positive integer. Enforcement of such a requirement should result in an error condition, such as an exception, rather than simply no output when a value less than 1 is passed to the function.--[[User:Waldorf|Waldorf]] 21:14, 31 March 2008 (MDT)
:Fixed. --[[User:Mwn3d|Mwn3d]] 21:22, 31 March 2008 (MDT)

== 400 ==
== 400 ==



Revision as of 03:22, 1 April 2008

The Java example does not enforce the requirement that the parameter for the conversion function must be a positive integer. Enforcement of such a requirement should result in an error condition, such as an exception, rather than simply no output when a value less than 1 is passed to the function.--Waldorf 21:14, 31 March 2008 (MDT)

Fixed. --Mwn3d 21:22, 31 March 2008 (MDT)

400

I'm pretty sure CD is 400. If you look at wp:Roman_numerals#Modern_Roman_numerals it shows it. --Mwn3d 21:20, 31 March 2008 (MDT)