Equinox Online Help - Language Reference - A to Z
Card |
|
|---|---|
| Applies to | ![]() |
| Syntax | Card(NumberExpression) |
| Action | [Function] Converts a number into a string and adds the appropriate suffix. |
| Scope | Usable anywhere |
| Notes | This function converts NumberExpression into a string and adds the letters st, nd, rd, or th. eg If NumberExpression is 16, the function returns "16th". |
| Category | Conversions |
| See Also | Asc, Card, ChoosePrinter, HexNum, HexStr, Lowercase, Ord, Str, StrCase, StrDate, StrTime, Uppercase |
| Example | This example assigns a string like "Happy 21st Birthday!" to greeting. greeting = "Happy " & Card(age) & " Birthday!" |
