VAL: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=[[Image:val.png|right|VAL]]VAL <a$>
{{Command|syntax=[[Image:val.png|right|VAL]]VAL <a$>
|description=:Retuns the absolute value of the input, to view the result use [[DEBUG|debug]].
|description=:Retuns the first number of the input, to view the result use [[DEBUG|debug]].


|param1=<a$>|param1_desc={{a$}}
|param1=<a$>|param1_desc={{a$}}
Line 6: Line 6:


===Example===
===Example===
:VAL(a$)
:VAL(19abc12)


[[Category:Internal_Macro_Functions]]
[[Category:Internal_Macro_Functions]]

Revision as of 17:32, 22 July 2010

Command

VAL
VAL
VAL <a$>


Retuns the first number of the input, to view the result use debug.

Parameters

<a$>
Text string or name of a string variable.

Example

VAL(19abc12)