HP Forums
CAS: Argument Delimiter if Decimal Point is Comma - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: CAS: Argument Delimiter if Decimal Point is Comma (/thread-2617.html)



CAS: Argument Delimiter if Decimal Point is Comma - Marcus von Cube - 12-13-2014 08:29 PM

In Home, when the number format contains a comma as decimal point, a semicolon is used to delimit function arguments. In CAS, a comma is used instead. When I copy a history entry from Home to CAS via the Get From Home menu item, the delimiter is adjusted accordingly. This isn't done for something on the command line, the text is left there verbatim. CAS doesn't accept the input if it contains a semicolon. The same problem occurs on the way back Home.

This leads to another question: How can I enter a function with multiple floating point arguments? How does CAS differentiate between a decimal comma and the argument delimiter?


RE: CAS: Argument Delimiter if Decimal Point is Comma - parisse - 12-14-2014 07:00 AM

The CAS does not accept comma as delimiter, like most scientific softwares you must use a .


RE: CAS: Argument Delimiter if Decimal Point is Comma - Marcus von Cube - 12-14-2014 09:52 AM

OK, so in CAS the setting for the number format in Home is ignored and the format is always 123456.78 ?

This leaves the second question: Shouldn't the command line be converted as is done with the command stack contents when switching environments? Replacing semicolon by comma and vice versa?