I was a bit in doubt whether to post this or not. It is actually too simple, but simple things may be charming.
I am working on a program in the field of electrical engineering, and for electrical engineers the use of suffix notation (values like 22p, 3.3n or 100K) is so common, that it feels almost weird to use something else. So i needed a conversion to and from suffix notation.
After some work this conversion appeared to be surprisingly simple.
And in spite of its simplicity, and without any effort from my side, the SuffixInput function accepts equally well regular and scientific notation. So it just extends the input options without causing any inconvenience.
Well, just in case it is useful to someone, both conversion functions are presented below.
Arie Verheul
--------------------------------------------------
april 18, 2008
The code has been moved to the Source code forum.
Arie Verheul
I am working on a program in the field of electrical engineering, and for electrical engineers the use of suffix notation (values like 22p, 3.3n or 100K) is so common, that it feels almost weird to use something else. So i needed a conversion to and from suffix notation.
After some work this conversion appeared to be surprisingly simple.
And in spite of its simplicity, and without any effort from my side, the SuffixInput function accepts equally well regular and scientific notation. So it just extends the input options without causing any inconvenience.
Well, just in case it is useful to someone, both conversion functions are presented below.
Arie Verheul
--------------------------------------------------
april 18, 2008
The code has been moved to the Source code forum.
Arie Verheul
Comment