catgirlfighter / nekopaw

galleries downloader
45 stars 15 forks source link

Add leading zeros #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is there a way to rename files with 3 digits? like add leading zeros if it's 
single number

Original issue reported on code.google.com by shao...@gmail.com on 4 Dec 2014 at 2:10

GoogleCodeExporter commented 9 years ago
yes
https://code.google.com/p/nekopaw/wiki/NekopawGUI#string-number_format

[-][Width][.Precision]Type
Width - minimal length of string (filled with spaces).
Precision - leading zeros for decimal (ex. 000123), back zeros for fractional 
numbers (ex. 1.2300), maximum length for strings.
Type - value type

example $fn:.6d$ or $fn:.6u$

Original comment by catgirlfighter on 4 Dec 2014 at 9:30

GoogleCodeExporter commented 9 years ago
thanks that worked!

Original comment by shao...@gmail.com on 4 Dec 2014 at 9:33

GoogleCodeExporter commented 9 years ago

Original comment by catgirlfighter on 4 Dec 2014 at 10:46