Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: sprintf ('%X', -10) == '-1.000000e+01'
Replies: 3   Last Post: May 6, 2013 10:01 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 27
Registered: 4/30/13
Re: sprintf ('%X', -10) == '-1.000000e+01'
Posted: May 6, 2013 10:01 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

So that would be "a conversion that does not fit the data". Thanks.

U?ytkownik "Nasser M. Abbasi" napisa? w wiadomo?ci grup

On 5/6/2013 8:29 AM, kzelechowski@e3tech.local wrote:
> Why? The on-line help says the result should be typeset in hexadecimal
> digits, that would be '-A', wouldn?t it?

according to:

"X Unsigned hexadecimal integer (uppercase)"

I do not know the format for signed conversion to hex.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.