It is currently April 18th, 2024, 9:33 pm

Decimals in Log

Get help with creating, editing & fixing problems with skins
User avatar
Yincognito
Rainmeter Sage
Posts: 7125
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Decimals in Log

Post by Yincognito »

rxtd wrote: December 23rd, 2018, 8:23 amFor example, if you need some known precision, you can use ":n": [SomeMeasure:7] will give you string, containing number with 7 decimal places. [SomeMeasure:] will give you string containing number with up to 10 decimal places.
...and you can use [SomeMeasure], that will give you string containing number up to 5 decimal places. It's getting better and better... :D

Joking aside, it's ok in my case, since the typical usage scenario for a Scale attempt is usually limited to 1024 as a maximum scale factor, and 4 decimals easily capture the fractional part of a scaled number, not to mention that it is usually the maximum limit for precision in most cases anyway.

So, it doesn't affect too much typical usage scenarios - it does however prevent the skin to be an all-case solution. Anyway, the latter was a just a possible bonus, not critical by any means. ;-)
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth