It is currently April 27th, 2024, 12:17 pm

hard disk size

Get help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 16176
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: hard disk size

Post by balala »

xsander_7 wrote: August 27th, 2022, 7:21 pm https://i.ibb.co/wNbWLqV/db9b57f5eb9e.png

and here is a screenshot of how much 1.14 tb should show. you can see the difference in numbers of about 60 GB.
https://i.ibb.co/MSMDKzY/e6dd7c35d56c.png
Unfortunately the screenshots are not available. Please repost them.
xsander_7
Posts: 14
Joined: January 3rd, 2019, 6:41 pm

Re: hard disk size

Post by xsander_7 »

balala wrote: August 28th, 2022, 6:33 pm Unfortunately the screenshots are not available. Please repost them.
the order of screenshots is preserved

https://i.ibb.co/wNbWLqV/db9b57f5eb9e.png = https://imageup.ru/img145/4010721/1.png

https://i.ibb.co/MSMDKzY/e6dd7c35d56c.png = https://imageup.ru/img51/4010722/2.png
User avatar
balala
Rainmeter Sage
Posts: 16176
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: hard disk size

Post by balala »

xsander_7 wrote: August 27th, 2022, 7:21 pm that is, the formula in the code does not give the values that the system shows
But yes, it does. In your first screenshot the size shown by the skin is 1.202.194 MB. The screenshot of the system shows 1,14 TB. But these are representing the same value, because: 1.202.194 MB = 1.202.194 / 1024 GB = 1.174 GB = 1.174 / 1024 TB = 1,14 TB.
So the same value is shown, the difference is the used unit.
xsander_7
Posts: 14
Joined: January 3rd, 2019, 6:41 pm

Re: hard disk size

Post by xsander_7 »

balala wrote: August 28th, 2022, 7:02 pm But yes, it does. In your first screenshot the size shown by the skin is 1.202.194 MB. The screenshot of the system shows 1,14 TB. But these are representing the same value, because: 1.202.194 MB = 1.202.194 / 1024 GB = 1.174 GB = 1.174 / 1024 TB = 1,14 TB.
So the same value is shown, the difference is the used unit.
how complicated/confusing everything is)
thank you for your time. I think we can close the question on this.
User avatar
balala
Rainmeter Sage
Posts: 16176
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: hard disk size

Post by balala »

xsander_7 wrote: August 28th, 2022, 7:34 pm how complicated/confusing everything is)
No, it's not in fact. The only thing you have to keep in mind is that for bytes the conversion ratio (unlike for meters, kilograms and so on, for which it is 1.000), is 1.024. This is the value you have to divide / multiply with, when converting.
xsander_7 wrote: August 28th, 2022, 7:34 pm thank you for your time. I think we can close the question on this.
Alright, you1re welcome. Do you get the skin working now as intended?
xsander_7
Posts: 14
Joined: January 3rd, 2019, 6:41 pm

Re: hard disk size

Post by xsander_7 »

Do you get the skin working now as intended?
yes
User avatar
balala
Rainmeter Sage
Posts: 16176
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: hard disk size

Post by balala »

xsander_7 wrote: August 28th, 2022, 8:34 pmyes
:thumbup: