Compatibility
ECMA.CEILING
Matches all 6 recorded answers
Recorded: 6 in the answer bank. How we measure this · See the Rust code
No local names are recorded for this entry.
What it does
ECMA.CEILING(number, significance)
ECMA.CEILING rounds a number up to a multiple of significance.
ECMA.CEILING(number, significance)
Excel accepts the name, and answers are recorded here, but it has no page of its own in Microsoft's function list.
In our Rust it shares the CEILING kernel.
Try it
Quirks
Our implementation treats a zero number or significance first, as CEILING does. The guide for
CEILING holds the sign and multiple rules.
How to implement
Share one kernel with CEILING, and keep the entry so that workbooks using the name load and calculate.
Rust code
Show the CalcFunc source of this function
Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.
ECMA.CEILING · 1 lines · calc-func/src/catalogue/rounding.rs on GitHubcall(ECMA_CEILING, "ECMA.CEILING", 2, SIGNIFICANCE, ecma_ceiling)
ecma_ceiling · 7 lines · calc-func/src/catalogue/rounding.rs on GitHub/// fn1 Excel 16.0.20527: this spelling uses CEILING's sign and zero rules.
fn ecma_ceiling(
arguments: &[CalcValue],
services: &mut EvalServices<'_>,
) -> Result<CalcValue, FunctionFault> {
ceiling_for(ECMA_CEILING, arguments, services)
}
Kernels shared with other functions
callcatalogue/roundingnumericcatalogue/roundingnumberscatalogue/roundingceiling_forcatalogue/roundingto_multiplecatalogue/roundingquotientcatalogue/roundingtruncatedecimalfloordecimalceildecimalexcel_quotientported/ceiling_floor_family
Argument and result plumbing
out_with_subnormalcatalogue/kit
No implementation has been published with a Handbook test suite for this function.
Version differences
Answers recorded here come from Excel 16.0 build 20527. No comparison between builds exists.
Alternatives
CEILING,CEILING.MATHandCEILING.PRECISE, which Microsoft documents.
Named variants
No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents