Re: Floating Point

2015-11-27 Thread Peter Haworth
Thanks everyone, easier than I thought. Pete Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Nov 27, 2015 at 10:12 AM, Thierry Douez wrote: > You can try this: > > put fo

Re: Floating Point

2015-11-27 Thread Thierry Douez
You can try this: put format( "%.2f", 42) HTH, Thierry 2015-11-27 18:49 GMT+01:00 Peter Haworth : > 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 bu

Re: Floating Point

2015-11-27 Thread Mark Wieder
On 11/27/2015 09:49 AM, Peter Haworth wrote: 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? Does

Re: Floating Point

2015-11-27 Thread Mark Waddingham
Have a look at binaryEncode - I believe that has a formatter for an IEEE double encoding. Mark. Sent from my iPhone > On 27 Nov 2015, at 17:49, Peter Haworth wrote: > > I'm working with a third party API that requires me to supply one of the > parameter values in floating point notation. The