[Text] Re: Roman number conversion to Integer

2021-05-28 Thread Gilles Sadowski
IMO it is a [Text] feature (hence the prefix added to the "Subject: " line). Regards, Gilles Le ven. 28 mai 2021 à 08:21, Miguel Munoz a écrit : > > Here's one take on the problem: > /** > * Created by IntelliJ IDEA. > * Date: 2/4/21 > * Time: 1:36 AM > * > * @author Miguel Mu\u00f1oz > *

Re: Roman number conversion to Integer

2021-05-27 Thread Miguel Munoz
Here's one take on the problem: /** * Created by IntelliJ IDEA. * Date: 2/4/21 * Time: 1:36 AM * * @author Miguel Mu\u00f1oz */ public class ToRomans { private static int[] divisors = {1000, 500, 100, 50, 10, 5, 1}; private static char[] romans = {'M', 'D', 'C', 'L', 'X', 'V', 'I'}; /

Roman number conversion to Integer

2021-05-27 Thread Thad Guidry
Hello, I've checked the source of https://commons.apache.org/proper/commons-numbers but didn't find support for Roman numeral conversion. Is this in another project? Not at all? Planned for Numbers or another subproject like Lang, Text, or Math? Thad https://www.linkedin.com/in/thadguidry/ https