Floor

From Mesham
Revision as of 22:07, 10 January 2010 by Polas (talk | contribs) (Created page with '== Overview == This floor[n] function will find the largest integer less than or equal to ''n''. * '''Pass:''' A double to find floor of * '''Returns:''' An integer representing…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

This floor[n] function will find the largest integer less than or equal to n.

  • Pass: A double to find floor of
  • Returns: An integer representing the floor

Example

var a:=floor[10.5];
var y;
y:=floor[a];