Manuals/calci/ORDINAL
Jump to navigation
Jump to search
ORDINAL (Number)
- is any real numbers.
Description
- This function shows the Ordinal value of the given number.
- In , is any real number.
- An Ordinal Number is a number that tells the position of something in a list, such as 1st, 2nd, 3rd, 4th, 5th etc.
- Cardinal number shows how many of something are there. Hence when Cardinal number is given, this function will show the Ordinal number.
- When the given number is a decimal number, this function truncates it to integers.
Examples
- ORDINAL(1) = 1st
- ORDINAL(12) = 12th
- ORDINAL(41.3) = 41st
- ORDINAL(22) = 22nd
- ORDINAL(53) = 53rd