ToNegative
Retorna o valor negativo de um número.
Esta função retorna o valor negativo de um número, ou seja, o seu valor com sinal (sempre negativo).
Função
Nome da função: ToNegative
Aliases: Neg
Parâmetros
| value; | // o valor a ser convertido. |
Exemplos
//Default example:
ToNegative[value]
//Using aliases:
Neg[value]
//Other examples
ToNegative[10] // Is -10
ToNegative[Close[0]-Open[0]] // Result of the calculation "close [0] -Open [0]" will be negative even when "Open" is smaller.