文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>进制详解 英文版

进制详解 英文版

时间:2010-05-31  来源:随1意2o

Type Char        Expected Input        Format of output

Numerics

d        Integer        signed decimal integer
i        Integer        signed decimal integer
o        Integer        unsigned octal integer
u        Integer        unsigned decimal integer
x        Integer        unsigned hexadecimal int (with a, b, c, d, e, f)
X        Integer        unsigned hexadecimal int (with A, B, C, D, E, F)
f        Floating point        signed value of the form [-]dddd.dddd.

e        Floating point        signed value of the form [-]d.dddd or e[+/-]ddd
g        Floating point        signed value in either e or f form, based on given value and precision. Trailing zeros and the decimal point are printed if necessary.
E        Floating point        Same as e; with E for exponent.
G        Floating point        Same as g; with E for exponent if e format used

Characters
c        Character        Single character
s        String pointer        Prints characters until a null-terminator is pressed or precision is reached
%        None        Prints the % character

Pointers
n        Pointer to int        Stores (in the location pointed to by the input argument) a count of the chars written so far.
p        Pointer        Prints the input argument as a pointer; format depends on which memory model was used. It will be either XXXX:YYYY or YYYY (offset only).
    如果谁可以帮我译过来就好了 主要是后面部分 谢谢
相关阅读 更多 +
排行榜 更多 +
XLM币最具爆发力的安全交易所币安binance下载

XLM币最具爆发力的安全交易所币安binance下载

金融理财 下载
XEM币最安全隐私链的全球交易所币安binance下载

XEM币最安全隐私链的全球交易所币安binance下载

金融理财 下载
WAVES币最新上线的优质交易所币安binance下载

WAVES币最新上线的优质交易所币安binance下载

金融理财 下载