Post Reply 
A new HP-67 Simulator for the iPhone
06-06-2016, 08:46 PM (This post was last modified: 06-06-2016 08:51 PM by Willy R. Kunz.)
Post: #23
RE: A new HP-67 Simulator for the iPhone
(06-05-2016 11:15 PM)Gerson W. Barbosa Wrote:  
(06-05-2016 07:45 PM)bshoring Wrote:  By placing 1.4 in X prior to executing DSP mode I got thousands separators and fix to 4 decimal places. If I read the instructions correctly at:
http://cuveesoft.ch/rpn67/p02.html
It appears the type of separators (. ,) should be set automatically according to what country you are in. I'd be interested to know how that is working.


Thanks! With 1.9, for 12345678.9 I get on the display 123.456.789 , 90 as expected. This is nice, but I still can't find the comma|decimal point|auto selection which is mentioned in the update notice. Perhaps I just haven't searched enough.

Gerson.

Sorry for any confusion. The feature is not available on the current versions of RPN-67/97 Pro for the iPad. That's why it's not described on the homepage yet.

In short, the decimal point character is defined by the second digit following the decimal point in the argument for the DSP MODE command:

0 = auto = set according the locale (region) defined for the device
1 = forced to "."
2 = forced to ","

The corresponding number grouping character is defined by the selected display mode:
0 = auto = set according the locale (region) defined for the device
1 = "," or – if neither "." nor "," – left unchanged
2 = "." or – if neither "." nor "," – left unchanged

The number grouping is set according to the locale. Usually, that's groups of three digits, but for a change, try setting your device to India, language English or Hindi.

Example:

Value: 3141592.654

DSP MODE = 1.3
US: 3,141,592.654
Germany: 3.141.593,654
Switzerland: 3'141'592.654
India: 31,14,592.654

DSP MODE = 1.31
US: 3,141,592.654
Germany: 3,141,593.654
Switzerland: 3'141'592.654
India: 31,14,592.654

DSP MODE = 1.32
US: 3.141.592,654
Germany: 3.141.593,654
Switzerland: 3'141'592,654
India: 31.14.592,654
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: A new HP-67 Simulator for the iPhone - Willy R. Kunz - 06-06-2016 08:46 PM



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