[−][src]Function ordnl::of_u64
pub fn of_u64(n: u64) -> String
Ordinalizes a u64
integer.
let first = ordnl::of_u64(1u64); let second = ordnl::of_u64(2u64); let third = ordnl::of_u64(3u64); let fourth = ordnl::of_u64(4u64); assert_eq!(first, "1st"); assert_eq!(second, "2nd"); assert_eq!(third, "3rd"); assert_eq!(fourth, "4th");