balala wrote: ↑January 3rd, 2019, 9:09 pm
Ok, doesn't matter. Just post them anytime you have any.
Hey. help. tell me how to make a mask for the withdrawal of numbers of the type "0.000,000" it for a more accurate value of the free disk.
the first digit is a terabyte then "point", three digits are gigabytes then" comma", the last three digits are megabytes.
xsander_7 wrote: ↑January 5th, 2019, 10:15 pm
I think that the last three digits of " megabytes "can be written through" NumOfDecimals=3 " if not then write as you think is correct.
Yep, it can be, but the issue is that since in English the decimal separator is not the comma, but the point, if the number is written with three decimals, you'll get there a point, not a comma.
So, first let's add the point(s). For this you have to add the following two options to the [MeasureFreeDrive2Scaled] measure (don't modify any of the existing options, just add these two new ones):
but if you apply not the formula but
AutoScale=1
NumOfDecimals=6
it shows 1.141404 and this is the correct value of free disk space, but then how to put "." what would be 1.141.404 https://i.ibb.co/mvZf9Mt/5cfa4412bee6.png
xsander_7 wrote: ↑August 27th, 2022, 2:22 pm
but if you apply not the formula but
AutoScale=1
NumOfDecimals=6
it shows 1.141404 and this is the correct value of free disk space, but then how to put "." what would be 1.141.404
I think you (or me?) have misunderstood something.
In your screenshot I see you have 1.14 TB (in most non-English languages this is written as 1,14 TB) free space. As such there is no reason to put that / those dot(s), to have 1.141.404. Those have to be put only if you don't scale the value.
Now how would you like to see the result: scaled (so as 1.14 TB or 1,14 TB), or unscaled, as 1,254,988,394,496 B (or the corresponding 1.254.988.394.496 B)? Or maybe you'd like some intermediate value, like the one expressed in GB, even if the value is greater than 1 TB?
balala wrote: ↑August 27th, 2022, 3:00 pm
I think you (or me?) have misunderstood something.
In your screenshot I see you have 1.14 TB (in most non-English languages this is written as 1,14 TB) free space. As such there is no reason to put that / those dot(s), to have 1.141.404. Those have to be put only if you don't scale the value.
Now how would you like to see the result: scaled (so as 1.14 TB or 1,14 TB), or unscaled, as 1,254,988,394,496 B (or the corresponding 1.254.988.394.496 B)? Or maybe you'd like some intermediate value, like the one expressed in GB, even if the value is greater than 1 TB?
it doesn't matter "," or "." I want the value to be 1.141.404 so that there would be a division( , or . ) visually easier to perceive. the system shows that 1.41 is free and a more accurate value (automatic scaling=1 number of decimals =6)
1.141404 (1 TB, 141 GB, 404 MB) but the formula shows generally other values that are not in the screenshot. but I would like to see exactly the value that the system shows (screenshot) and with separation. if it can't be done, then fine.
xsander_7 wrote: ↑August 27th, 2022, 3:51 pm
it doesn't matter "," or "." I want the value to be 1.141.404 so that there would be a division( , or . ) visually easier to perceive. the system shows that 1.41 is free and a more accurate value (automatic scaling=1 number of decimals =6)
1.141404 (1 TB, 141 GB, 404 MB) but the formula shows generally other values that are not in the screenshot. but I would like to see exactly the value that the system shows (screenshot) and with separation. if it can't be done, then fine.
I think it can be. Here I hope is a solution.
You have to extend the substitution done on the [MeasureFreeDrive2Scaled] measure, ba adding to the end of the option the following substitution: "^(\d*)\.(\d{3})(\d{3})$":"\1,\2.\3" (add this after the "^(\d{1,3})(\d{3})$":"\1.\2" element of the existing substitution). This way the option looks this way: Substitute="^(\d{1,3})(\d{3})(\d{3})(\d{3})$":"\1.\2.\3.\4","^(\d{1,3})(\d{3})(\d{3})$":"\1.\2.\3","^(\d{1,3})(\d{3})$":"\1.\2","^(\d*)\.(\d{3})(\d{3})$":"\1,\2.\3".
Obviously the decimal separator I used here is the comma (red in the above option, but you have to look carefully to see it). If needed you can replace it with a dot.
balala wrote: ↑August 27th, 2022, 6:39 pm
I think it can be. Here I hope is a solution.
You have to extend the substitution done on the [MeasureFreeDrive2Scaled] measure, ba adding to the end of the option the following substitution: "^(\d*)\.(\d{3})(\d{3})$":"\1,\2.\3" (add this after the "^(\d{1,3})(\d{3})$":"\1.\2" element of the existing substitution). This way the option looks this way: Substitute="^(\d{1,3})(\d{3})(\d{3})(\d{3})$":"\1.\2.\3.\4","^(\d{1,3})(\d{3})(\d{3})$":"\1.\2.\3","^(\d{1,3})(\d{3})$":"\1.\2","^(\d*)\.(\d{3})(\d{3})$":"\1,\2.\3".
Obviously the decimal separator I used here is the comma (red in the above option, but you have to look carefully to see it). If needed you can replace it with a dot.
you misunderstood me.
here is the code with your last edit and a screenshot of how much free disk space it shows
that is, the formula in the code does not give the values that the system shows
the correct value is shown by the AutoScale=1 parameter, but with this parameter it is not possible to add another separator so that it would turn out to be 0.000.000 https://i.ibb.co/rmdjX3M/d388d03554ef.png a separator is needed between 146 and 495.