Skip to content

dos_chgsign

Dale Fugier edited this page Nov 1, 2023 · 1 revision

Reverses the sign of a number.

Syntax

(dos_chgsign number)

Parameters

number

The number to be changed.

Returns

The number with its sign reversed, if successful.

nil on error.

Example

Command: (dos_chgsign 3.14)
-3.14
Command: (dos_chgsign -3.14)
3.14
Clone this wiki locally