View Single Post
Old 10-07-2013, 09:32 PM   #1
kcz
Member
kcz began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2013
Device: Kindle
series_index manipulation

Hello,

I want to use/create a function that returns the series_index as follows:

If the series_index is an integer (or better said the numbers after the decimal point are 00) return it as 0>2s, if it is a float then return it as 0>5.2f

e.g.:

Code:
INPUT      OUTPUT

2.00       02
2.50       02.50
3.01       03.01
04.00      04
How can I do that?
kcz is offline   Reply With Quote