Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also, the printf can be used to display floating point in hexadecimal notation.

The printf specifiers:

  %e Scientific notation           3.9265e+2
  %a Hexadecimal floating point -0xc.90fep-2


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: