SpreadJS Documentation
FLOOR.PRECISE
SpreadJS Documentation > Formula Reference > Formula Functions > FLOOR.PRECISE

This function rounds a number down to the nearest multiple of a specified value or to the nearest integer.

Syntax

FLOOR.PRECISE(value,signif)

Arguments

This function has these arguments:

Argument Description
value Number to round
signif [Optional] Number representing the rounding factor

Use either both positive or both negative numbers for the arguments. Regardless of the sign of the numbers, the value is rounded toward zero.

Data Types

Accepts numeric data for both arguments. Returns numeric data.

Examples

FLOOR.PRECISE(C4,B2)

FLOOR.PRECISE(B3,0.05)

FLOOR.PRECISE(R1C2,1)

FLOOR.PRECISE(4.65,2) gives the result 4

FLOOR.PRECISE(-2.78,-1) gives the result -3