Post Reply 
Formatted output
04-06-2015, 10:30 AM
Post: #1
Formatted output
Hello,

Is it posible to format the results of the calculation in HP Prime basic?
(tabs, formatted output of numerical results etc.)

Thanks for any help.

Jan Kromhout
Hellevoetsluis-NL
Find all posts by this user
Quote this message in a reply
04-07-2015, 04:48 AM
Post: #2
RE: Formatted output
(04-06-2015 10:30 AM)Powersoft Wrote:  Is it posible to format the results of the calculation in HP Prime basic?
(tabs, formatted output of numerical results etc.)

In Home, type "string" (without the quotes) then press Help. You'll see the help screen for the STRING command, which contains many formatting options. For example, STRING(pi,2,4) yields "3.1416" because the 2 means "use Fixed display mode" and the 4 means "round to 4 decimal places". You can also specify the decimal point, the digit grouping character, and other stuff.

Personal opinion: tab characters behave unpredictably when exported, so I'd suggest using spaces instead.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
04-07-2015, 11:00 AM
Post: #3
RE: Formatted output
Perhaps the format(Real,String) command may be useful. Check on-calc help for description.
Find all posts by this user
Quote this message in a reply
04-08-2015, 03:34 AM
Post: #4
RE: Formatted output
(04-07-2015 11:00 AM)DrD Wrote:  Perhaps the format(Real,String) command may be useful. Check on-calc help for description.

I tried it a few months ago and it didn't work in Home.
Think maybe only CAS
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)