Floating Point
Peter Haworth
pete at lcsql.com
Fri Nov 27 14:57:12 EST 2015
Thanks everyone, easier than I thought.
Pete
Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
On Fri, Nov 27, 2015 at 10:12 AM, Thierry Douez <th.douez at gmail.com> wrote:
> You can try this:
>
> put format( "%.2f", 42)
>
>
> HTH,
>
> Thierry
>
>
>
> 2015-11-27 18:49 GMT+01:00 Peter Haworth <pete at lcsql.com>:
> > I'm working with a third party API that requires me to supply one of the
> > parameter values in floating point notation. The value will be a number
> > keyed into an LC field. Does LC have a built-in way to convert a number
> to
> > floating point format?
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> > _______________________________________________
> > 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
>
>
>
> --
> ------------------------------------------------
> Thierry Douez - http://sunny-tdz.com
> sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
>
> _______________________________________________
> 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