User Tools

Site Tools


harlowe:floor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

harlowe:floor [2017/10/09 20:39] (current)
Line 1: Line 1:
 +**(floor: // [[harlowe:​Number|Number]]//​) -> //​Number//​**
  
 +This macro rounds the given [[harlowe:​number|number]] downward to a whole number. If a whole number is provided,
 +it returns the number as-is.
 +
 +=== Example usage: ===
 +
 +''​%%(floor:​ 1.99)%%''​ produces 1.
harlowe/floor.txt ยท Last modified: 2017/10/09 20:39 (external edit)