mirror of
https://github.com/LingCoder/OnJava8.git
synced 2026-08-24 15:03:29 +08:00
Update 18-Strings.md
This commit is contained in:
@@ -451,6 +451,7 @@ Total 49.39
|
||||
正如你所见,通过相当简洁的语法,`Formatter`提供了对空格与对齐的强大控制能力。在该程序中,为了恰当地控制间隔,格式化字符串被重复利用了多遍。
|
||||
### Formatter转换
|
||||
下面的表格展示了最常用的类型转换:
|
||||
|
||||
|||
|
||||
|----|----|
|
||||
|**`d`**|**整型(十进制)**|
|
||||
@@ -1468,4 +1469,4 @@ But I'm not dead yet! I feel happy!
|
||||
|
||||
<!-- 分页 -->
|
||||
|
||||
<div style="page-break-after: always;"></div>
|
||||
<div style="page-break-after: always;"></div>
|
||||
|
||||
Reference in New Issue
Block a user