It is currently March 28th, 2024, 8:48 pm

Incomplete info about the Sgn function in help

Discussions about the documentation, main Rainmeter site and forums.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Incomplete info about the Sgn function in help

Post by balala »

In the Functions section of the Formulas help page, the explanation of the Sgn function is incomplete. It says "Return 1 if x is positive, -1 if x is negative.". The complete explanation would be "Return 1 if x is positive, -1 if x is negative or 0 if x is zero.".
The same observation is true for both: 3.3 Manual and 4.0 Beta Manual.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Incomplete info about the Sgn function in help

Post by jsmorley »

Thanks for spotting that, I will fix it today.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Incomplete info about the Sgn function in help

Post by jsmorley »

Done. Thanks again.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Incomplete info about the Sgn function in help

Post by balala »

Now it seems to be ok and complete.