Page 1 of 1

Roman Numbers

Posted: Mon Apr 03, 2023 4:37 pm
by serge_girard
Hi there,

I have a function, copied from ?, can't remember from where...
Author is
Richard A. Pulliam Copyright (c) 1996, Richard A. Pulliam
Function: ROMANNUM()
Regretfully it contains some errors and therefore I ask you I some of you have an error-free function for converting roman numers to arabic numerics and vica-versa.
My version has this error:

Code: Select all

MMMDCCCXCVII 3897    
MMMDCCCXCVIII 3898   
MMMDCCCXCIX 3899     
MMMCM 4100           
MMMCMI 4101          
MMMCMII 4102         
MMMCMIII 4103        
As you can see 3899 skips to 4100...

As I don't want to reinvent the wheel and the function is rather complex....

Serge

Re: Roman Numbers

Posted: Tue Apr 04, 2023 10:37 am
by mustafa
Hola Serge:
Creo que A partir de -> 3999 la Letra o grupos de Letras llevarán encima -> ¯
https://www.hmgforum.com/viewtopic.php? ... man#p41597
Saludos
*----------------------------------------------*
Hello Serge:
I think that from -> 3999 the Letter or groups of Letters will carry -> ¯
https://www.hmgforum.com/viewtopic.php? ... man#p41597
Greetings
Mustafa

Re: Roman Numbers

Posted: Tue Apr 04, 2023 11:12 am
by serge_girard
Thanks Mustafa !!
Serge