Question
· May 16, 2016

Roman Number Converter

Hi, 
My name is Sergio Fernandes and I'm from Brazil.
I would like to know how can i use MVBasic at Cache Terminal or .csp.
My original problem is to converter Integer Numbers to Roman Numbers and consulting cache documentation I found "Conversion Codes" at http://localhost:57772/csp/docbook/DocBook.UI.Page.cls?KEY=GVRF_basicfea...
My version is Intersystems Ensemble 2013.1.6.950.0
Thanks a lot,

Sérgio Fernandes

Discussion (3)0
Log in or sign up to continue

Disclaimer: I've never worked with MultiValue Basic till today.

The proble with the table you were refferring to http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.FrameSet.cls?KEY=GVRF_basicfeatures- it's saying quite the opposite, roman numerical conversion code ('NR') is not supported in the Caché OCONV implementation.

Though if the code would be supported then it would be callable from ObjectScript mode via syntax like:

DEVLATEST:00:24:37:USER>w $mviconvs("12:12:12pm","MT")
43932
DEVLATEST:00:24:48:USER>w $mvoconv("44444","MTSH")
12:20:44PM