Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Documentation needs fixing
Fri, Aug 14 2015 5:21 PMPermanent Link

Michael Saunders

I have just discovered  again using these forums that you can format a float field to a specified no of decimal places just  by adding a 2nd parameter

eg        edCostPrice.text := FloattoStr(tbStockLookup.columns['StockCost'].AsFloat,2);

This is not specified in the documentation though

Mike
Sat, Aug 15 2015 3:31 PMPermanent Link

Raul

Team Elevate Team Elevate

On 8/14/2015 5:21 PM, Michael Saunders wrote:
> I have just discovered  again using these forums that you can format a float field to a specified no of decimal places just  by adding a 2nd parameter
>
> eg        edCostPrice.text := FloattoStr(tbStockLookup.columns['StockCost'].AsFloat,2);
>
> This is not specified in the documentation though

Looks fine to me in online docs (unless Tim just updated it) :

http://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=FloatToStr


Raul
Sun, Aug 16 2015 10:04 AMPermanent Link

Michael Saunders

Raul wrote:

On 8/14/2015 5:21 PM, Michael Saunders wrote:
> I have just discovered  again using these forums that you can format a float field to a specified no of decimal places just  by adding a 2nd parameter
>
> eg        edCostPrice.text := FloattoStr(tbStockLookup.columns['StockCost'].AsFloat,2);
>
> This is not specified in the documentation though

Looks fine to me in online docs (unless Tim just updated it) :

http://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=FloatToStr


Raul

I was refering to the documention that is built into the IDE ie when you press F1 from your code  That is what I have been using

Seems they are not in sync though

Mike
Sun, Aug 16 2015 10:43 AMPermanent Link

Raul

Team Elevate Team Elevate

On 8/16/2015 10:04 AM, Michael Saunders wrote:
> I was refering to the documention that is built into the IDE ie when you press F1 from your code  That is what I have been using
> Seems they are not in sync though

My understanding is that they are built from same source but built-in
help is frozen to release date (late June in this case) while online is
always current.

Raul
Sun, Aug 16 2015 11:48 AMPermanent Link

squiffy

Telemix Ltd.

Avatar

Thanks for pointing that out, Raul.
Whilst blindingly obvious when you think about it, it hadn't occurred to me to check online docs if I found something missing.
Mon, Aug 17 2015 1:01 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< I have just discovered  again using these forums that you can format a float field to a specified no of decimal places just  by adding a 2nd parameter

eg        edCostPrice.text := FloattoStr(tbStockLookup.columns['StockCost'].AsFloat,2);

This is not specified in the documentation though >>

It will get picked up in the 2.01 release.  As Raul mentions, the on-line docs are always up to date and reflect the latest modifications.  For example, if you dig through them right now, you'll see a bunch of new stuff for 2.01.

Tim Young
Elevate Software
www.elevatesoft.com
Image