Post Reply 
Formatted output
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
Post Reply 


Messages In This Thread
Formatted output - Powersoft - 04-06-2015, 10:30 AM
RE: Formatted output - Joe Horn - 04-07-2015 04:48 AM
RE: Formatted output - DrD - 04-07-2015, 11:00 AM
RE: Formatted output - bobkrohn - 04-08-2015, 03:34 AM



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