Whatever message this page gives is out now! Go check it out!

Floor

Last update:
May 18, 2026

Description

This function returns the largest integer less than or equal to a specified number.

Returns

Integer

Category

History

New in Adobe ColdFusion (2016 release).

Syntax

Floor(n)

Parameters

Parameter
Description
n
A numeric value.

See also

Example

<cfscript>
    n=65.87;
    writeDump(floor(n)); // produces the output 65
</cfscript>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page