mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-03 17:54:47 +02:00
global-functions: $HumanReadableNum: indicate binary base...
... and update scripts to match the change.
This commit is contained in:
parent
36cf4d028b
commit
3015743b19
4 changed files with 11 additions and 7 deletions
|
@ -140,7 +140,7 @@
|
|||
:return \
|
||||
[ $IfThenElse ([ :typeof $File ] = "array") \
|
||||
($Name . ":\n" . [ $FormatLine " name" ($File->"name") ] . "\n" . \
|
||||
[ $FormatLine " size" ([ $HumanReadableNum ($File->"size") 1024 ] . "iB") ]) \
|
||||
[ $FormatLine " size" ([ $HumanReadableNum ($File->"size") 1024 ] . "B") ]) \
|
||||
[ $FormatLine $Name $File ] ];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue