if.greater_than

/ Conditionals / if.greater_than

Title : if.greater_than
Purpose : Execute a code block when one value is greater than

(lhs>rhs) to a second number.

Syntax :

Input Parameters : lhs: (Required) Left hand side value
rhs: (Required) Right hand side value
Return Value : (void) It won’t return anything, instead it will execute the code block

when the condition becomes true.

Example 1 :
Code :
Output : Displays the value of senior_citizen_eligibility_html when condition becomes true.
Description : In this example we are checking an user’s age is greater than 59. If yes we output a pre-defined html.
Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *