Conversion Specifiers and the Resulting Printed Output
|
Conversion Specification |
Output |
|---|---|
|
%a |
Floating-point number, hexadecimal digits and p-notation (C99). |
|
%A |
Floating-point number, hexadecimal digits and P-notation (C99). |
|
%c |
Single character. |
|
%d |
Signed decimal integer. |
|
%e |
Floating-point number, e-notation. |
|
%E |
Floating-point number, e-notation. |
|
%f |
Floating-point number, decimal notation. |
|
%g |
Use %f or %e, depending on the value. The %e style is used if the exponent is less than –4 or greater than or equal to the precision. |
|
%G |
Use %f or %E, depending on the value. The %E style is used if the exponent is less than –4 or greater than or equal to the precision. |
|
%i |
Signed decimal integer (same as %d). |
|
%o |
Unsigned octal integer. |
|
%p |
A pointer. |
|
%s |
Character string. |
|
%u |
Unsigned decimal integer. |
|
%x |
Unsigned hexadecimal integer, using hex digits 0f. |
|
%X |
Unsigned hexadecimal integer, using hex digits 0F. |
|
%% |
Prints a percent sign. |
Conversion Specifiers and the Resulting Printed Output的更多相关文章
- Data Flow的Error Output
一,在Data Flow Task中,对于Error Row的处理通过Error Output Tab配置的. 1,操作失败的类型:Error(Conversion) 和 Truncation. 2, ...
- Printing multipage output
Printing known-length multipage output Using the PrintDataGrid control for multipage grids Example: ...
- STM32嵌入式开发学习笔记(二):将功能封装为库文件
将所有的函数都堆在main.c文件里不是好的选择,庞大的代码文件会是你维护的障碍,明智的做法是,一种功能封装到一个库文件里. 库文件就是你代码开始部分写的#include<xxxx.h>里 ...
- Google C++ Style Guide
Background C++ is one of the main development languages used by many of Google's open-source project ...
- log4j PatternLayout 输出解析
以下是PatternLayout.class源码的文档介绍: A flexible layout configurable with pattern string. This code is know ...
- Matlab中的数据类型
Matlab中有15种基本数据类型,主要是整型.浮点.逻辑.字符.日期和时间.结构数组.单元格数组以及函数句柄等. 1.整型:(int8:uint8:int16:uint16:int3 ...
- Printing Architecture
Printing Architecture http://www.codeproject.com/Articles/8916/Printing-Architecture This articl ...
- Google C++ 代码规范
Google C++ Style Guide Table of Contents Header Files Self-contained Headers The #define Guard For ...
- Log4net PatternLayout 参数
Log4net PatternLayout 参数 来自: https://logging.apache.org/log4net/log4net-1.2.13/release/sdk/log4net.L ...
随机推荐
- selenium IDE 安装环境配置
- python基础三(深浅拷贝)
1.赋值操作 list_1 = [1,2,3,['barry','Jerry']] list_2 = list_1 list_1[0] = 111 print(list_1) # [111, 2, 3 ...
- 测试技能图谱skill-map
# 测试技能图谱 ## 代码静态分析- Sonar- PMD- Infer- Android * findbugs * AndroidLint * CheckStyle- iOS * scanbuil ...
- mysql分表分库 ,读写分离
1.分表 当项目上线后,数据将会几何级的增长,当数据很多的时候,读取性能将会下降,更新表数据的时候也需要更新索引,所以我们需要分表,当数据量再大的时候就需要分库了. a.水平拆分:数据分成多个表 b. ...
- crypto 密码加密
转自 'use strict'; var crypto = require('crypto'); /** * generates random string of characters i.e sal ...
- 【小程序】获取到的e.target与e.currentTarget区别
[小程序]获取到的e.target与e.currentTarget区别:https://blog.csdn.net/qq_33744228/article/details/80310294 使用e.t ...
- [已解决]报错: TLS handshake timeout
为了永久性保留更改,您可以修改 /etc/docker/daemon.json 文件并添加上 registry-mirrors 键值. { "registry-mirrors": ...
- Linux 2.6.x fs/pipe.c local kernel root(kit?) exploit (x86)
/****************************************************************************** * .:: Impel Down ::. ...
- Android开发之程序猿必需要懂得Android的重要设计理念
前几天去參加了带着自己的作品去參加服务外包大赛,由于签位抽到的比較靠后就等待了蛮久,就跟坐在前面的一起參赛的选手開始讨论Android的开发经验.各自给对方展示了自己的作品,小伙伴就建议我看 ...
- vue对象侦测
http://blog.csdn.net/yihanzhi/article/details/74200618 数组:this.$set(this.arr,index,value)