HP Forums

Full Version: format() not acting as expected.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been trying to repeat something that the help file and also the manual mentions that should work.

Can anyone see what I am doing wrong?

I have attached an image file of the results of me trying to use format, like described in the manual:

format(9.3456,"s3")
format is a CAS command, so format(9.3456,"s3") works in CAS, but in Home due to the way the commands are passed from Home to CAS the quotes around s3 are removed, so you get an error.
In Home if you type: format(9.3456,"\"s3\"") , it works.
Reference URL's