diff options
Diffstat (limited to 'docs/yaml/elementary/int.yml')
-rw-r--r-- | docs/yaml/elementary/int.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/yaml/elementary/int.yml b/docs/yaml/elementary/int.yml index 65ab959..f8d8e25 100644 --- a/docs/yaml/elementary/int.yml +++ b/docs/yaml/elementary/int.yml @@ -14,3 +14,15 @@ methods: - name: to_string returns: str description: Returns the value of the number as a string. + + optargs: + fill: + type: int + description: | + Left fill the string with zeros until it reaches the length + specified by this argument. A leading negative sign counts towards + the length, and is handled by inserting the padding after the `-` + character rather than before. The original string is returned if the + value provided is less than or equal to the former's length. + + |