AsDisplaystring

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
soa
Posts: 339
Joined: Mon Dec 07, 2015 3:15 pm

AsDisplaystring

Post by soa »

I've noticed that a packed number (5,2) has an intrinsic of AsDisplayString, this has parameters of BareString_L...., EditString_ & NumString..

I can't find any documentation of these values online. What do they do?
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: AsDisplaystring

Post by Stewart Marshall »

Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
BrendanB
Posts: 134
Joined: Tue Nov 24, 2015 10:29 am

Re: AsDisplaystring

Post by BrendanB »

Jim,

Try here: http://docs.lansa.com/14/EN/LANSA016/PR ... String.htm

Packed strings use the same intrinsic logic as for FixedPointIntrinsics.asDisplayString.

Essentially, this will allow you to format the number using the various options (see the link for details).

B.
soa
Posts: 339
Joined: Mon Dec 07, 2015 3:15 pm

Re: AsDisplaystring

Post by soa »

Thanks guys, I was looking in the Technical Reference Guide.
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: AsDisplaystring

Post by Stewart Marshall »

F1 on a word in the source editor should take you to the appropriate help for the feature.
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
Post Reply