incrementing a decimal...
Nicolas Cueto
niconiko at gmail.com
Tue Nov 7 20:16:14 EST 2017
Monte Goulding's solution was what I was after.
Thank you.
--
Nicolas Cueto
On 8 November 2017 at 09:45, Monte Goulding via use-livecode <
use-livecode at lists.runrev.com> wrote:
> Something like:
>
> put “3.33.007" into tValue
> set the itemDelimiter to "."
> put format("%s.%03d", item 1 to 2 of tValue, item 3 of tValue + 1) into
> tNextValue
>
> > On 8 Nov 2017, at 11:22 am, Nicolas Cueto via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > I'm after an easy way to convert span 3.33.007-3.33.012 into this
> > incremental cr-del list:
> >
> > 3.33.007
> > 3.33.008
> > 3.33.009
> > 3.33.010
> > 3.33.011
> > 3.33.012
> >
> > From experience, I know if I add 1 to "07" the result is "8" and not
> "08".
> >
> > Thank you.
> >
> > --
> > Nicolas
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list