User:Σ/Testing facility/Sgn/doc

This template evaluates its numeric parameter and returns its mathematical sign. If the parameter is empty or missing, it returns an empty string. Otherwise, the return value is 1 if the parameter is positive, 0 if it is null, -1 if negative.


 * Syntax :
 *  


 * Examples :
 * " " = "".
 * " " = "".
 * " " = "".
 * " " = "".
 * " " = "".
 * " " = "".

nl:Sjabloon:Sgn