[Openroad-users] Convert numbers to Roman
Bloomfield, Martin (PSD)
Martin.Bloomfield at psd.hse.gsi.gov.uk
Wed Jul 2 20:40:23 EST 2008
I'm in the middle of a project and need to build some dynamic text using
item numbers in Roman numerals (e.g. "for items i - iv the expiry date
is 2/12/08", "for items i, v - ix the expiry date is 31/12/2010"). I
have the required data (item number and date) in an array with the
required numbers stored as integers (1, 3, 4 etc). Before I try to
work out how to convert these to Roman numerals (i, iii, iv), I was
wondering if anyone has done this before and would be willing to share
the code they used. I'm using OpenROAD 4.1 SP2 on Windows XP with
Ingres/Net 2.6.
Any assistance would be appreciated,
Thanks in advance,
Martin Bloomfield.
_________________________________________________
Application Developer & Database Administrator
IT Branch,
Pesticides Safety Directorate
YORK
Email: martin.bloomfield at psd.hse.gsi.gov.uk
Website: www.pesticides.gov.uk <http://www.pesticides.gov.uk/>
P Save a tree... please don't print this e-mail unless you really need
to
PSD joined the Health and Safety Executive on 1st April 2008. All email addresses changed to firstname.surname at psd.hse.gsi.gov.uk from that date. Email sent to the previous addresses will continue to be delivered until at least September 2008, but please update your mailing lists or contacts as soon as you can to reflect the change.
__________________________________________________________________
***********************************************************************************
Please note: Incoming and outgoing e-mail messages are routinely monitored for compliance with our policy on the use of electronic communications.
Interested in Occupational health and safety information?
Please visit the HSE website at the following address to
keep yourself up to date.
www.hse.gov.uk
or Contact HSE Infoline on 0845 345 0055 or Email on hse.infoline at natbrit.com
***********************************************************************************
The original of this email was scanned for viruses by the Government Secure Intranet virus scanning service supplied by Cable&Wireless in partnership with MessageLabs. (CCTM Certificate Number 2007/11/0032.) On leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20080702/b9199b2f/attachment.html
More information about the Openroad-users
mailing list