Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Mathematics
General TopicsResearchOperations ResearchStatisticsMathematical LogicNumerical AnalysisUndergraduate MathAlgebra HelpRecreational Math
Math Software
MapleMathematicaMATLABScilabSASSPSS

Math Forum / Math Software / Scilab / February 2010



Tip: Looking for answers? Try searching our database.

octal format in msprintf

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Piet - 24 Feb 2010 08:09 GMT
I am trying to print some numbers in octal format, which I should be
able to do by using msprintf. At least that´s what the help entry for
printf_conversion says.

But unfortunately, when I try this, I get told, that the '%o' format
string is not allowed for that method:

msprintf('%o',8)
                !--error 998
msprintf: ein Fehler ist aufgetreten: 'o' Format nicht erlaubt.

Is there another option to solve this problem?

Thanks in advance,
Piet
SG - 24 Feb 2010 14:06 GMT
> I am trying to print some numbers in octal format, which I should be
> able to do by using msprintf. At least that´s what the help entry for
[quoted text clipped - 6 lines]
>                  !--error 998
> msprintf: ein Fehler ist aufgetreten: 'o' Format nicht erlaubt.

You may post a bug report at http://bugzilla.scilab.org/
This bug has not already been reported

> Is there another option to solve this problem?

dec2oct(8)  will return the appropriated string

Samuel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.