User Tools

Site Tools


xrpl:gt

This is an old revision of the document!


gt

ArgumentsResultNotation
number number bool [ number number - bool ]

Description

Top two items are popped from the stack and 'Greater Than' comparison is performed. 0 or 1 is pushed back to the stack where 1 indicates true.

Examples

42 PI gt if
    "42 > PI" Trace
endif
 
#Wrap notation
if (42 gt (1)) 
	trace("42 is greater than 1") 
endif
xrpl/gt.1551653982.txt.gz ยท Last modified: 2025/02/14 14:56 (external edit)