etsis_between ( mixed $val, mixed $min, mixed $max )

Used to retrieve values within a range.

Return: (boolean)

Source file: app/functions/core-function.php

View source


Parameters

$val

(mixed) (Required)

$min

(mixed) (Required)

$max

(mixed) (Required)


Used by

Uses


Source

function etsis_between($val, $min, $max)
{
    return ($val - $min) * ($val - $max) <= 0;
}

Changelog

  • Since: eduTrac SIS 6.3.0

User Contributed Notes

You must log in before being able to contribute a note.