You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
soyfrien
changed the title
[REQ] Helper function that converts swap_size to bytes from a human readable string is required.
[REQ] Helper function that converts from a human readable string like 1.5G to bytes (integer form string).
May 16, 2022
soyfrien
changed the title
[REQ] Helper function that converts from a human readable string like 1.5G to bytes (integer form string).
[REQ] Helper function that converts human readable string like 1.5G to bytes (integer form string).
May 16, 2022
Is your feature request related to a problem? Please describe.
This is about #15, which I've decided is not a bug.
A helper function that converts
swap_size
to bytes from a human readable string is required.Strings can occur with or without decimals, in upper or lower case. Always rounding down, example strings and conversions might be:
swap_size
swap_size
)1234567890
1234567890
1234567890.9
1234567890
1205632.70k
1234567884
1177.375M
1234567168
1.14978G
1234566874
The conversion can be a string in integer form.
Describe the solution you'd like
Perhaps a function that takes a string as an argument and returns a converted string.
Describe alternatives you've considered
I am mostly just curious to see how the help wanted tag works.
The text was updated successfully, but these errors were encountered: