Normal Topic format as number in printstring (Read 591 times)
debmckee
Full Member
***
Offline



Posts: 123
Joined: Oct 5th, 2011
format as number in printstring
Apr 23rd, 2012 at 5:21pm
Print Post Print Post  
How do i format a number in a printstring command so that it prints a comma?

  
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1350
Location: New Hampshire
Joined: Mar 11th, 2003
Re: format as number in printstring
Reply #1 - Apr 24th, 2012 at 1:16am
Print Post Print Post  
The easiest way is to use @AsFormattedByLE to prepare your value for use in PrintString. See page 165 of the Programming Guide.

Even if you don't currently have an element on the form that is formatted the way you want for the PrintString, you can add an unbound, invisible element, just for use with the @AsFormattedByLE command.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged