Difference between revisions of "Manuals/calci/CEILINGAT"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
# CEILINGAT(1600,30) = 1620 | # CEILINGAT(1600,30) = 1620 | ||
# CEILINGAT(56.321,7) = 63 | # CEILINGAT(56.321,7) = 63 | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|2kQZ_i3VGn0|280|center|CEILING}} | ||
==See Also== | ==See Also== |
Latest revision as of 15:00, 10 December 2018
CEILINGAT (Array,MaxNumber)
- is the set of values.
- is the upper limit value.
Description
- This function round a number up to the nearest specified multiple.
- In , is the number to be rounded.
- is the multiple to use when rounding.
- So this function returns a given number rounded up to a specified multiple.
- Also this function always rounds up, away from zero.
- CEILING works like the MROUND function, but CEILING always rounds up, away from zero.
- CEILING can be a can be a useful function to set pricing after currency conversion, discounts, etc.
- For example CEILINGAT(10,3) = 12.Here the number 10 is rounded near to the multiple of 3.
Examples
- CEILINGAT([5,60,32.3],25) = 25 75 50
- CEILINGAT(1600,30) = 1620
- CEILINGAT(56.321,7) = 63