Equinox Online Help - Language Reference - A to Z

Home

Card

Applies to
SyntaxCard(NumberExpression)
Action[Function] Converts a number into a string and adds the appropriate suffix.
ScopeUsable 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".

CategoryConversions
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!"