I am trying to validate folder size to be less than 2 MB, from a output of 500K / 1M / 1.5M how can i validate if folder_size is less than 2M (i.e 2MB)
sample output:
folder_size = 1M;
folder_size = 500K
This is how I want to validate
if folder_size <= 2M
print("pass")
else
print("fail")