/ Conditionals / if.less_equal

Title : if.less_equal
Purpose : Execute a code block when one value is less than or equal

(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 voting_ineligible_html when condition becomes true.
Description : In this example we are checking an user’s age is less than or equal to 17. If yes we output a pre-defined html.
Most Popular

Leave a Reply

Your email address will not be published.