细绳格式ter
参数
指定要重新格式化的属性。
Provide the TclFO.rmat用于重新格式化指定属性的命令。语法是:
[标志] [宽度] [精度] <类型>
Note:之前的百分号(%)不是格式字符串的一部分。
标志字符:
可以指定以下一个或多个标志字符:
0.The value should be padded with zeroes instead of spaces.
-The value should be padded on the right-hand side. (The default is to pad on the left.)
+应始终签名数值。
字段宽度:
The optional field width is given as a decimal number. If the value has fewer characters than the field width, it will be padded with spaces.
实地精度:
可选的精度作为一个时期,后跟十进制数。
Attribute Type:
必须指定以下属性类型之一。如果可能,将转换为给定类型的属性值。
D.Integer
E.Decimal number (scientific notation: -d.ddde+dd)
F十进制数(浮点表示法:-ddd.ddd)
O.Octal number
XHexadecimal number
S.细绳
Examples:
如果源属性包含值S.pudsthe following format strings will give the following results:
格式 |
结果 |
8s |
S.puds |
-08s. |
Spuds000. |
如果源属性包含值1234.5.6789the following format strings will give the following results:
格式 |
结果 |
E. |
1.234568E + 004 |
。2f |
1234.5.68 |
015s. |
0.0.0.0.0.1234.5.6789 |
如果源属性包含值1234.the following format strings will give the following results:
格式 |
结果 |
X |
4d2 |
4.4f |
1234.。0.0.0.0. |
+0.6d |
+0.1234. |
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click在适用的参数。更多的备用ion, seeTransformer Parameter Menu Options。
Transformer Categories
Search FME Knowledge Center
Search for samples and information about this transformer on theFME知识中心。