It is currently September 20th, 2019, 9:13 pm

Incomplete info about the Sgn function in help

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

Incomplete info about the Sgn function in help

balala » May 8th, 2016, 1:03 pm

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: 19467
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Incomplete info about the Sgn function in help

jsmorley » May 8th, 2016, 1:06 pm

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

Re: Incomplete info about the Sgn function in help

jsmorley » May 8th, 2016, 1:21 pm

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

Re: Incomplete info about the Sgn function in help

balala » May 8th, 2016, 1:24 pm

Now it seems to be ok and complete.