"real" "less-than-or-equal-to" Operation

This section describes 'real' 'less-than-or-equal-to' operation

The "real" "less-than-or-equal-to" operation is provided through the real.lessThanOrEqualTo() function, which has the following syntax:

real.lessThanOrEqualTo(a, b)

Parameters:
   a - The first "real" data object
   b - The second "real" data object
   
Return: 
   Returns a new "boolean" data object representing 
   $true, if "a" is less than or equal to "b".

The "real" "less-than-or-equal-to" operation can be expressed in the "<~" operator format:

a <~ b; # alias of the following function call
real.lessThanOrEqualTo(a, b); 

Design options:

1. Use "<~" as the "less-than-or-equal-to" operator.

2. Use "<=" as the "less-than-or-equal-to" operator.

4. Use "leq" as the "less-than-or-equal-to" operator.

Last update: 2017.

Table of Contents

 About This Book

 Introduction of H Language

 Syntax

 Data Types

 Variables

 Expressions

 Statements

 "boolean" Data Type

 "integer" Data Type

 "string" Data Type

"real" Data Type

 What Is "real" Data Type

 "real" Literals

 Constructor Function: real()

 "real" "addition" Operation

 "real" "subtraction" Operation

 "real" "multiplication" Operation

 "real" "division" Operation

 "real" "exponentiation" Operation

 "real" "negation" Operation

 "real" "absolute" Operation

 "real" "greater-than" Operation

 "real" "less-than" Operation

 "real" "equal-to" Operation

 "real" "not-equal-to" Operation

 "real" "greater-than-or-equal-to" Operation

"real" "less-than-or-equal-to" Operation

 "array" Data Type

 Source Code Packages

 Classes and Objects

 Object Oriented Programming

 Inheritance - Object Attachments

 Encapsulation - Private Members

 References

 PDF Printing Version