Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

Public Function NumberWithSuffix (
number As Variant
) As String

Return the number with the correct suffix, eg 1st, 2nd, 3rd, 4th, 5th, etc

number as Variant

A variant that will be coerced to a Long with default of 0.

Call Template:

Dim s As String
s = xf.Gen.NumberWithSuffix(number)

See Also:

Example 1:

1
2
NumberWithSuffix(11)   => 11th
NumberWithSuffix(1)    => 1st
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd