LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
altenbach

Add Roman numeral conversion tools

Status: New

I suggest to add the following tools to the Number/string conversion palette:

 

Number to Roman Numerals

Roman Numerals to Number

 

Here's how they could look like on the block diagram. A simple draft of these function can be found here.

 

 

 

Idea Summary: Add conversion tools for roman numerals to LabVIEW

7 Comments
Thoric
Trusted Enthusiast

package your VIs up into a .vip and we can all enjoy these functions today Smiley Tongue

Thoric (CLA, CLED, CTD and LabVIEW Champion)


AristosQueue (NI)
NI Employee (retired)

VIs to do this will be in Beta 2 of LV 2015 in

vi.lib\string\Roman Numerals.llb

but will not be added to the palettes due to the lateness of the hour. They will be added to the Hidden Gems of 2015.

 

This idea will remain open because the idea is not complete until the VIs are fully documented and in the palettes.

GregSands
Active Participant

I am SO excited to see this has been given top priority and will be available in LV-MMXV.  Surely Minerva, goddess of wisdom, war, arts, schools and commerce, the great goddess of NI, has heard our cries and granted her abundant favour on us!  Not one day more will I gesture in an unseemly fashion, or speak inappropriate words, as I attempt to decipher the information from my network of ancient load cells on bridges throughout the Empire - although I confess perhaps I still will for other reasons.  Forsooth, the effervescent light of NI's Hidden Gems is shining brightly on us all!

 

I remain concerned, however, that there is no simultaneous announcement of the ability to interpret the sexagesimal data arriving from the flow meters in the Babylonian gardens.  However this announcement has given me hope that this may yet occur before LV-MMXX, or should I say LV-33`40°, together with the long-awaited and much-delayed Klingon language pack.  yItaH 'ej yIcheptaH!

altenbach
Knight of NI
How else could you parse the various superbowls?
AristosQueue (NI)
NI Employee (retired)

GregS: It isn't that it got priority. I happened to have the VIs mostly finished for another project that I did on my own and I saw the request from Altenbach and figured I could make the VIs available more easily.

 

But you aren't the only one with objections to such not-generally-useful functionality being included in vi.lib. I'm removing the VIs again. Sorry, altenbach. Raise more kudos if you want this in the future.

altenbach
Knight of NI

Roman numerals are still quite prevalent, not just for the superbowls. I have seen books where the page numbering of the preface or appendix was in roman numerals. MS word has an option for bullet lists with roman numbering. How else would you sort british royalty (e.g. Henry VIII) in numerical order? There are many more examples listed here.

 

Roman numerals should ultimately be promoted to a first class format to be used in formatting and scanning operations (e.g. %r and %R for upper or lowercase roman (probably already taken, but oracle has something similar)  SAS supports roman numerals).

 

However such a format specifier should be more universal and available in all typical programming languages, not just LabVIEW.

 

The functions suggested in this idea are a useful workaround.

GregSands
Active Participant

Sorry guys, I guess I should have added a Smiley Happy - sarcasm doesn't seem to cross borders very well.  I did realize this probably didn't impinge on any other development, and I don't want to be responsible for squashing something that would be useful for others.  AQ: if the code is complete, perhaps a small package in the LVTN is a better way to make this widely available.  Who knows, I may even find the need to install it.